HP Operations Manager for Windows

OV_NodeGroup::AddAutoDeployPackage()
OV_NodeGroup::AddAutoDeployPackage_Trans()


boolean AddAutoDeployPackage(
[in] string AutoDeployPackageName)
boolean AddAutoDeployPackage_Trans(
[in] string TransId,
[in] string AutoDeployPackageName)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
AutoDeployPackageName
The Name property of the instance of OV_AutoDeployPackage to be added to this node group.

Calling Convention

These methods can be called only from a WMI instance object.

Description

Adds an auto-deploy package (instance of OV_AutoDeployPackage) to this node group.

Return Value

False if the auto-deploy package has already been added to this node group.

Extended Status Codes

MDLAPI_E_ADPACKAGE_NOT_EXIST
Auto Deploy Package does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.