HP Operations Manager for Windows

OV_ServiceTypeDefinition::AddAutoDeployPackage()
OV_ServiceTypeDefinition::AddAutoDeployPackage_Trans()


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

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
AutoDeployPackageName
The Name property of the instance of OV_AutoDeployPackage to be added to this service type.
Attributes
This parameter is used only by SPIs. It contains name/value pairs that list the attributes. Optional parameter. Default is empty array.

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 service type.

Return Value

False if the auto-deploy package has already been added to this service type.

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.