3.1.4.4.3 RemoveElementSchema (Opnum 5)

The RemoveElementSchema method is received by the server in an RPC_REQUEST packet. In response, the server returns the IAppHostElementSchema that represents the schema and constraints of an optionally supported "directive IAppHostElement". This directive element can be used by the administration system to control the behavior of the specific IAppHostElementCollection from which the specified IAppHostCollectionSchema was retrieved.

 [propget] HRESULT RemoveElementSchema(
   [out, retval] IAppHostElementSchema** ppSchema
 );

ppSchema: Returns an IAppHostElementSchema object that is associated with the optionally supported directive IAppHostElement.

Return Values: The server MUST return zero if it successfully processes the message that is received from the client. If processing fails, the server MUST return a nonzero HRESULT code as defined in [MS-ERREF].

Return value/code

Description

0X00000000

NO_ERROR

The operation completed successfully.

0X80070057

ERROR_INVALID_PARAMETER

One or more parameters are incorrect or null.