3.2.4.6.4 DeleteMachineGroup (Opnum 10)

The DeleteMachineGroup method deletes an existing machine group.

 [id(4), helpstring("method DeleteMachineGroup")] HRESULT DeleteMachineGroup(
   [in] BSTR bstrMachineGroupId
 );

bstrMachineGroupId: A string that specifies the identifier of the machine group to be deleted.

If this parameter is NULL, E_INVALIDARG MUST be returned.

Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.

Return value/code

Description

0x00000000

S_OK

Operation successful.

0x80070057

E_INVALIDARG

One or more arguments are invalid.

0xC1FF0389

WRM_ERR_MACHINEGROUPID_INVALID

The specified machine group id is invalid.

Additional IWRMMachineGroup interface methods are specified in section 3.2.4.6.