about ComputerSet?

来源:互联网 发布:腰部靠垫推荐知乎 编辑:程序博客网 时间:2024/05/29 17:39

Re: how to increase the speed to remove computer form a ComputerSet?

by "Yoav Yassour [MSFT]" <yoavy@[EMAIL PROTECTED] > Jan 25, 2006 at 06:31 AM

Are you testing this with an enterprise level computer set?


"liuty" <liuty2006@[EMAIL PROTECTED]
> wrote in message
news:%237UbS3wCGHA.3304@[EMAIL PROTECTED]
> The problem appear at isa server enterprise 2004.
> There is no problem at isa server standard version.
>
>
> "liuty" <liuty2006@[EMAIL PROTECTED]
> дÈëÏûÏ¢
> news:ett$U5vCGHA.344@[EMAIL PROTECTED]
>> Do you mean to replace computer's name with "numeric index"?
>> like this:
>> sipFPCComputerSet->Computers->Remove(numeric_index);
>>
>> But how to get the numeric_index by "computer's name"?
>>
>> thanks for your reponse
>>
>> "Eran Shany [MSFT]" <eshany@[EMAIL PROTECTED]
> дÈëÏûÏ¢
>> news:ukjLTnrCGHA.516@[EMAIL PROTECTED]
>> > You can try using the computer's numeric index instead if you have
it.
>> >
>> > --
>> > Eran Shany [ISA Server Product Team]
>> > This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> >
>> > "liuty" <liuty2006@[EMAIL PROTECTED]
> wrote in message
>> > news:%23weAyQhBGHA.628@[EMAIL PROTECTED]
>> > >I want add or remove many computers from ComputerSet.
>> > > But i met a problem.that when adding computer, the speed is quick.
>> > > But when removing computer , it run very slow.
>> > > I want to know how to increase the speed to remove computer form
>> > > ComputerSet.
>> > >
>> > > code as follow:
>> > > =============================================
>> > > FPCLib2004E::IFPCComputerSetPtr sipFPCComputerSet;
>> > > sipFPCComputerSet = GetComputerSet(...);
>> > > sipFPCComputerSet->Computers->Remove((_bstr_t)ops->szName); <===
this
> is
>> > > slow!!!
>> > > sipFPCComputerSet->Computers->Add((_bstr_t)ops->szName,
>> > > (_bstr_t)ops->szIP);
>> > > <=== this is quick!
>> > >
>> > > ================================================
>> > >
>> > >
>> >
>> >
>>
>>
>
>
 
原创粉丝点击