共用方式為


3.1.4.4.27 RemovePublisherProperty (Opnum 33)

The RemovePublisherProperty method removes the specified application-specific publisher property for the subscription. See publisher properties in section 3.1.1.2.

 [id(15), helpstring("method RemovePublisherProperty")] HRESULT RemovePublisherProperty(
   [in] BSTR bstrPropertyName
 );

bstrPropertyName: The application-specific name for the publisher property. The format for the publisher 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 publisher properties. If not, the server MUST fail the call. Otherwise, the server MUST remove any state specific to this property name associated with the state of the DCOM object servicing this call specific to publisher properties.