HP Operations Manager for Windows

 

IOvPmdPackage Interface Reference

Package interface. More...

import "pmad.idl";

Inheritance diagram for IOvPmdPackage:

IOvPmdVersion IOvPmdPackage2 IOvPmdPackage80 List of all members.

Public Member Functions

HRESULT  GetId ([out, retval]BSTR *psLogicalID)
HRESULT  GetName ([out, retval]BSTR *psName)
HRESULT  GetDescription ([out, retval]BSTR *psDescription)
HRESULT  GetInstalledNodeList ([out, retval]SAFEARRAY(IDispatch *)*ppNodes)
HRESULT  GetInstalledNodeListForAllVersions ([out, retval]SAFEARRAY(IDispatch *)*ppNodes)
HRESULT  CheckInstalledNode ([in]IOvPmdNode *node,[out, retval]VARIANT_BOOL *bIsInstalled)
HRESULT  Remove ()
HRESULT  DeployOnNodes ([in]VARIANT vNodeIDs)
HRESULT  RemoveFromNodes ([in]VARIANT vNodeIDs)
HRESULT  DeployOnNodeGroup ([in]BSTR nodegroup)

Detailed Description

The interface IOvPmdPackage implements all methods that deal with deployment packages.
Since:
6.x

Member Function Documentation

HRESULT IOvPmdPackage::CheckInstalledNode [in] IOvPmdNode node,
[out, retval] VARIANT_BOOL *  bIsInstalled
 
Semantics:
Returns true if this package is installed on the specified node.
Parameters:
node  - Interface pointer of the managed node to be checked.
bIsInstalled  - Boolean return value.
Possible errors:
Database communication errors
Since:
6.x
HRESULT IOvPmdPackage::GetDescription [out, retval] BSTR *  psDescription  ) 
 
Semantics:
Retrieves the description of this package version.
Parameters:
psDescription  - Description of this package version.
Possible errors:
Since:
6.x
HRESULT IOvPmdPackage::GetId [out, retval] BSTR *  psLogicalID  ) 
 
Semantics:
Returns the package ID (or logical ID). It is the same for all versions of the same package. When it is used in the API, it often refers to the latest version of the package.
Parameters:
psLogicalID  - The package ID (logical ID) as a string without brackets.
Possible errors:
Since:
6.x
HRESULT IOvPmdPackage::GetInstalledNodeList [out, retval] SAFEARRAY(IDispatch *)*  ppNodes  ) 
 
Semantics:
Returns all nodes where this package version has been installed.
Parameters:
ppNodes  - SAFEARRAY of IDispatch interface pointers to the managed nodes. Use the method "IOvPmdPolicyManager::CVar(...)" to access the elements of the array within a VB script.
Possible errors:
Database communication errors
Since:
6.x
HRESULT IOvPmdPackage::GetInstalledNodeListForAllVersions [out, retval] SAFEARRAY(IDispatch *)*  ppNodes  ) 
 
Semantics:
Returns a list of nodes where any version of this package is installed.
Parameters:
ppNodes  - SAFEARRAY of IDispatch interface pointers to the managed nodes. Use the method "IOvPmdPolicyManager::CVar(...)" to access the elements of the array within a VB script.
Possible errors:
Database communication errors
Since:
6.x
HRESULT IOvPmdPackage::GetName [out, retval] BSTR *  psName  ) 
 
Semantics:
Returns the name of the package. Two packages with the same name must have different versions.
Parameters:
psName  - Name of the package.
Possible errors:
Since:
6.x