OV_ServiceTypeDefinition::HasAutoDeployPackage()
OV_ServiceTypeDefinition::HasAutoDeployPackage_Trans()
- boolean HasAutoDeployPackage(
- [in] string AutoDeployPackageName)
- boolean HasAutoDeployPackage_Trans(
- [in] string TransId,
- [in] string AutoDeployPackageName)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- AutoDeployPackageName
- The Name property of the auto-deploy package (instance of
OV_AutoDeployPackage) used to verify that the package is associated
with this service type.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns true if the specified auto-deploy package (instance of
OV_AutoDeployPackage) is associated to this service type.
Return Value
True if the auto-deploy package (instance of
OV_AutoDeployPackage) specified with the AutoDeployPackageName
parameter is associated with this service type.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.