HP Operations Manager for Windows

OV_ServiceTypeDefinition::GetAutoDeployPackages()
OV_ServiceTypeDefinition::GetAutoDeployPackages_Trans()


sint32 GetAutoDeployPackages(
[out] OV_AutoDeployPackages AutoDeployPackages[] )
sint32 GetAutoDeployPackages_Trans(
[in] string TransId,
[out] OV_AutoDeployPackages AutoDeployPackages[] )

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
AutoDeployPackages
Instances of OV_AutoDeployPackage that are added to this service type. An instance is valid as a returned out parameter only if the method does not fail.

Calling Convention

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

Description

Returns a list of auto-deploy packages (instances of OV_AutoDeployPackage) added to this service type.

Return Value

Number of auto-deploy packages in the out parameter AutoDeployPackages.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.