HP Operations Manager for Windows

 

IOvPmdLogicalPolicyType Interface Reference

Policy Type interface. More...

import "pmad.idl";

Inheritance diagram for IOvPmdLogicalPolicyType:

IOvPmdVersion IOvPmdLogicalPolicyType2 IOvPmdLogicalPolicyType80 List of all members.

Public Member Functions

HRESULT  GetId ([out, retval]BSTR *psLogicalID)
HRESULT  GetName ([in, defaultvalue(0)] long lLangID,[out, retval]BSTR *psName)
HRESULT  GetDescription ([in, defaultvalue(0)] long lLangID,[out, retval]BSTR *psDescription)
HRESULT  GetLogicalPolicyList ([out, retval]SAFEARRAY(IDispatch *)*ppPolicies)

Detailed Description

The interface IOvPmdLogicalPolicyType implements all methods that deal with policy type versions.
Since:
6.x

Member Function Documentation

HRESULT IOvPmdLogicalPolicyType::GetDescription [in, defaultvalue(0)] long  lLangID,
[out, retval] BSTR *  psDescription
 
Semantics:
Returns the description of the policy type. It is the same for all versions of the same policy type. The description cannot be localized.
Parameters:
lLangID  - Ignored.
psDescription  - Description of the policy type.
Possible errors:
Since:
6.x
HRESULT IOvPmdLogicalPolicyType::GetId [out, retval] BSTR *  psLogicalID  ) 
 
Semantics:
Returns the policy type ID (or logical ID). It is the same for all versions of the policy type. When it is used in the API, it refers to the latest version of the policy type.
Parameters:
psLogicalID  - Logical ID of the policy type.
Possible errors:
Since:
6.x
HRESULT IOvPmdLogicalPolicyType::GetLogicalPolicyList [out, retval] SAFEARRAY(IDispatch *)*  ppPolicies  ) 
 
Semantics:
Returns the latest version of all policies that belong to this policy type, and that are recognized by this or older versions of this policy type. Policy versions that require a higher (later) version of the policy type are not returned by this method.
Parameters:
ppPolicies  - SAFEARRAY of IDispatch interface pointers to the policy versions of this type. 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 IOvPmdLogicalPolicyType::GetName [in, defaultvalue(0)] long  lLangID,
[out, retval] BSTR *  psName
 
Semantics:
Return the name of the policy type. It is the same for all versions of the same policy type. Two policy type versions with the same name must have different versions. The name cannot be localized.
Parameters:
lLangID  - Ignored.
psName  - Name of the policy type.
Possible errors:
Since:
6.x