OV_Service::GetActions()
OV_Service::GetActions_Trans()
- sint32 GetActions(
- [out] OV_Action Actions[],
- [in, optional] boolean IncludeDefault)
- sint32 GetActions_Trans(
- [in] string TransId,
- [out] OV_Action Actions[],
- [in, optional] boolean IncludeDefault)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- Actions
- Instances of OV_Action that are added to this service. An
instance is valid as a returned out parameter only if the method
does not fail.
- IncludeDefault
- Defines whether Actions also contains instances of OV_Action
that are included from the service type (default tools). Optional
parameter. Default value is false.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns a list of tools (instances of OV_Action) added to this
service.
Return Value
Number of tools in out parameter Actions.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.