Share via


VerifyOKToApplyToCollection method of the CIM_Setting class

Indicates whether the setting can be applied to the specified collection of managed system elements during the specified time or time interval.

Syntax

uint32 VerifyOKToApplyToCollection(
  [in]  CIM_CollectionOfMSEs REF Collection,
  [in]  datetime                 TimeToApply,
  [in]  datetime                 MustBeCompletedBy,
  [out] string                   CanNotApply[]
);

Parameters

Collection [in]

A reference to the collection of managed system elements to verify.

TimeToApply [in]

The time or time interval to verify with the setting.

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 can be applied to the collection.

1

The method is not supported.

2

The setting could not be applied by the specified time.

3 ...

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