Export (0) Print
Expand All
Expand Minimize

3.1.4.1.28 ApiDeleteResourceType (Opnum 27)

(Protocol Version 2) The ApiDeleteResourceType method removes the designated resource type from the cluster configuration. The non-volatile cluster state associated with this resource is updated.

The server MUST fail this method by using error ERROR_DIR_NOT_EMPTY if one or more resources of this type exist in the cluster configuration.

The server MUST accept an ApiDeleteResourceType request for processing only if it is in the read/write state, as specified in section 3.1.1.

error_status_t ApiDeleteResourceType(
  [in, string] LPCWSTR lpszTypeName
);

lpszTypeName: A pointer to a Unicode string buffer that uniquely specifies the name of the resource type to delete.

Return Values: The method MUST return the following error codes for the specified conditions.

Return value/code Description

0x00000000
ERROR_SUCCESS

Success.

0x00000091
ERROR_DIR_NOT_EMPTY

See the preceding text for when this error can occur.

For any other condition, the server MUST set Status to a value that is not one of the values listed in the preceding table. The client MUST treat all values that are not listed in the preceding table the same, except as specified in section 3.2.4.6.

 
Show:
© 2014 Microsoft