OV_ManagedNode::GetByPrimaryNodeName()
OV_ManagedNode::GetByPrimaryNodeName_Trans()
- OV_ManagedNode GetByPrimaryNodeName(
- [in] string PrimaryNodeName)
- OV_ManagedNode GetByPrimaryNodeName_Trans(
- [in] string TransId,
- [in] string PrimaryNodeName)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- PrimaryNodeName
- The PrimaryNodeName property of an instance of OV_ManagedNode
to be returned.
Calling Convention
These methods can be called from a WMI class or instance
object.
Description
Returns the node (instance of OV_ManagedNode) specified by the
PrimaryNodeName property.
Return Value
Instance of OV_ManagedNode specified by the PrimaryNodeName
property.
Extended Status Codes
- MDLAPI_E_NODE_NOT_EXIST
- Node does not exist.
- MDLAPI_E_NODE_PNNAME_NOT_UNIQUE
- More than one node with the specified Primary Node Name is
found.
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.