OV_Service::IsHostedOnNode()
OV_Service::IsHostedOnNode_Trans()
- boolean IsHostedOnNode(
- [in] string NodeName)
- boolean IsHostedOnNode_Trans(
- [in] string TransId,
- [in] string NodeName)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- NodeName
- The Name property of the node (instance of OV_ManagedNode)that
is used to verify that the service is hosted on the specified
node.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns true if this service is hosted on the specified
node.
Return Value
True if this service is hosted on the specified node.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.