Partager via


ApplyIncrementalChangeToCollection method of the CIM_Setting class

Applies the subset of the properties in the setting to a collection of managed system elements.

Syntax

uint32 ApplyIncrementalChangeToCollection(
  [in]  CIM_CollectionOfMSEs REF Collection,
  [in]  datetime                 TimeToApply,
  [in]  boolean                  ContinueOnError,
  [in]  datetime                 MustBeCompletedBy,
  [in]  string                   PropertiesToApply[],
  [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.

PropertiesToApply [in]

An array that contains the property names of the setting.

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

CIM_Setting