Поделиться через


ApplyToCollection method of the MSFT_IPAM_ServerConfiguration class

Applies the setting to a collection of managed system elements.

This method is inherited from the CIM_Setting class.

Syntax

uint32 ApplyToCollection(
  [in]  CIM_CollectionOfMSEs Ref Collection,
  [in]  datetime                 TimeToApply,
  [in]  boolean                  ContinueOnError,
  [in]  datetime                 MustBeCompletedBy,
  [out] string                   CanNotApply[]
);

Parameters

Collection [in]

A reference to the collection of managed system elements that receives the setting.

TimeToApply [in]

The time or time interval to verify with the setting.

ContinueOnError [in]

True to continue applying the setting to the collection after the method fails to apply the setting to an element in the collection; Otherwise, false.

Note

For each failed application of the setting, the corresponding managed system element is added to the CanNotApply array.

MustBeCompletedBy [in]

The required completion time for the method.

CanNotApply [out]

When this method returns, this parameter contains an array of keys to the managed system elements that can not receive the setting.

Return value

The possible return values are:

0

The setting was successfully applied to the collection.

1

The method is not supported.

2

The setting was not applied by the specified time.

3

There was an error using the ContinueOnError property value.

4 ...

Any other error.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\IPAM
MOF
IPAMServerPSProvider.mof
DLL
IPAMServerPSProvider.dll

See also

MSFT_IPAM_ServerConfiguration