HP Operations Manager for Windows

 

IOvPmdPackage2 Interface Reference

Extension of IOvPmdPackage interface. More...

import "pmad.idl";

Inheritance diagram for IOvPmdPackage2:

IOvPmdPackage IOvPmdVersion IOvPmdPackage80 List of all members.

Public Member Functions

HRESULT  GetInstanceId ([out, retval]BSTR *psInstanceID)
HRESULT  RemoveFromNodesForAllVersions ([in]VARIANT vNodeIDs)

Detailed Description

The interface IOvPmdPackage2 inherits from the interface IOvPmdPackage and adds additional methods (functionality)
Since:
7.50

Member Function Documentation

HRESULT IOvPmdPackage2::GetInstanceId [out, retval] BSTR *  psInstanceID  ) 
 
Semantics:
Returns the package instance ID (or package version ID). It uniquely identifies a package version.
Parameters:
psInstanceID  - Package instance ID (GUID as a string without brackets).
Possible errors:
Since:
7.50
HRESULT IOvPmdPackage2::RemoveFromNodesForAllVersions [in] VARIANT  vNodeIDs  ) 
 
Semantics:
Schedules the removal of all versions of the package from all specified nodes. If the specified node is not known, the job queue displays an error.
If the node is not reachable, the deployment job fails.
This is an asynchronous operation. The method does not perform validation during job execution. Instead the scheduled operation fails during execution.
Parameters:
vNodeIDs  - VARIANT of SAFEARRAY containing the ID of the nodes where the packages should be installed.
Possible errors:
Invalid variant structure of node IDs
Specified node is unknown
Dependent packages are still on the node
The node is not reachable
Database communication errors
Since:
7.50