OV_AutoDeployPolicyGroup::Modify()
OV_AutoDeployPolicyGroup::Modify_Trans()
- void Modify(
- [in] OV_AutoDeployPolicyGroup ADPolicyGroup)
- void Modify_Trans(
- [in] string TransId,
- [in] OV_AutoDeployPolicyGroup ADPolicyGroup)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- ADPolicyGroup
- The modified instance of OV_AutoDeployPolicyGroup to
store.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Stores changes performed on one or more properties.
It is not possible to get an instance of
OV_AutoDeployPolicyGroup to reflect changes to its properties from
within IWbemService::ExecMethodAsync. For this reason, an instance
of OV_AutoDeployPolicyGroup is specified as the ADPolicyGroup
parameter, even though this method is already called in the context
of this instance.
As with the OV_AutoDeployPolicyGroup::Create method, the
following checking is performed:
- If a required property is missing, the method fails with
MDLAPI_E_PROPERTY_MISSING.
- If the Caption property contains invalid characters, or has
more then 1024 characters, the method fails with
MDLAPI_E_INVALID_CAPTION.
Return Value
None.
Extended Status Codes
- MDLAPI_E_PROPERTY_MISSING
- Property is not set.
- MDLAPI_E_INVALID_CAPTION
- Specified object Caption parameter is not valid.
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.