HP Operations Manager for Windows

 

IOvPmdLicenseInfo80 Interface Reference

Extension of IOvPmdLicenseInfo2 interface. More...

import "pmad.idl";

Inheritance diagram for IOvPmdLicenseInfo80:

IOvPmdLicenseInfo2 IOvPmdLicenseInfo List of all members.

Public Member Functions

HRESULT  AddLicensedProduct ([in] BSTR sIdMappingFile)
HRESULT  GetProductDescription ([in] BSTR sProductId,[out, retval] BSTR *psProductDescription)
HRESULT  ReportProductNamesForNode ([in]BSTR sNodeId,[out, retval]VARIANT *pvProductNames)
HRESULT  ReportProductDescriptionsForNode ([in]BSTR sNodeId,[out, retval]VARIANT *pvProductDesc)
HRESULT  GetAutoPassId ([in]BSTR sProductId,[out, retval]BSTR *sAutoPassId)
HRESULT  RemoveLicensedProduct ([in] BSTR sProductId)

Detailed Description

The interface IOvPmdLicenseInfo80 inherits from the interface IOvPmdLicenseInfo2, and adds several additional methods.
Since:
8.00

Member Function Documentation

HRESULT IOvPmdLicenseInfo80::AddLicensedProduct [in] BSTR  sIdMappingFile  ) 
 
Semantics:
Adds a new licensed product to PMAD. If this method is called twice with the same mapping file, it overwrites the current product name and description, but not the product ID. This method must be called before a policy or package is linked to a licensed product.
Parameters:
sIdMappingFile  - An XML file that contains the following data of the licensed product:
  1. Product ID
  2. Product name
  3. Product description
  4. ID of the licensed feature (AutoPass ID)
Possible errors:
Database communication errors
Since:
8.00
HRESULT IOvPmdLicenseInfo80::GetAutoPassId [in] BSTR  sProductId,
[out, retval] BSTR *  sAutoPassId
 
Semantics:
Gets the AutoPass IDs for the given product ID.
Parameters:
sProductId  - ID of the licensed product for which the AutoPass ID is returned.
sAutoPassId  - AutoPass ID that matches to the given product ID
Possible errors:
Database communication errors
Since:
8.00
HRESULT IOvPmdLicenseInfo80::GetProductDescription [in] BSTR  sProductId,
[out, retval] BSTR *  psProductDescription
 
Semantics:
Gets the description of a product specified by its ID.
Parameters:
sProductId  - ID of the licensed product
psProductDescription  - Description of the licensed product
Possible errors:
Database communication errors
Since:
8.00
HRESULT IOvPmdLicenseInfo80::RemoveLicensedProduct [in] BSTR  sProductId  ) 
 
Semantics:
This method removes a licensed product from PMAD again. If the product does not exist, the method does nothing and returns S_FALSE. If the specified product exists and is still referenced by registered policies or packages on the server, the method returns an error.
Parameters:
sProductId  - The ID of the licensed product
Possible errors:
Database communication errors
The specified product is still referenced by policies or packages on the server.
Since:
8.00
HRESULT IOvPmdLicenseInfo80::ReportProductDescriptionsForNode [in] BSTR  sNodeId,
[out, retval] VARIANT *  pvProductDesc
 
Semantics:
Gets the description of all products that are deployed to the given node.
Parameters:
sNodeId  - ID of the managed node.
pvProductDesc  - Within this variant, there is a SAFEARRAY containing the description of all products that are currently installed on the managed node.
Possible errors:
Database communication errors
Since:
8.00
HRESULT IOvPmdLicenseInfo80::ReportProductNamesForNode [in] BSTR  sNodeId,
[out, retval] VARIANT *  pvProductNames
 
Semantics:
Gets the names of all products that are deployed to the given node.
Parameters:
sNodeId  - ID of the managed node.
pvProductNames  - Within this variant, there is a SAFEARRAY containing the names of all products that are currently installed on the managed node.
Possible errors:
Database communication errors
Since:
8.00