共用方式為


3.1.4.4.31 RemoveSubscriberProperty (Opnum 37)

The RemoveSubscriberProperty method removes the specified application-specific subscriber property for the subscription, as specified in section 3.1.1.2.

 [id(19), helpstring("method RemoveSubscriberProperty")] HRESULT RemoveSubscriberProperty(
   [in] BSTR bstrPropertyName
 );

bstrPropertyName: The application-specific name for the subscriber property. The format for the subscriber property name MUST adhere to the format specified in section 2.2.2.1.

Return Values: An HRESULT specifying success or failure. All success codes MUST be treated the same, and all failure codes MUST be treated the same.

When this method is invoked, the server MUST validate the syntax for the bstrPropertyName parameter. If validation fails, the server MUST fail the call, returning a failure HRESULT back to the client. Otherwise, the server MUST verify that the value for the property name is associated with the state of the DCOM object servicing this call specific to the subscriber properties. If not, the server MUST fail the call. Otherwise, the server MUST attempt to remove any state specific to this property name associated with the state of the DCOM object servicing this call specific to subscriber properties, and fail the call if it cannot.