3.1.4.4.22 put_Description (Opnum 28)
The put_Description method sets the Description property of the subscription.
-
[propput, id(11), helpstring("property Description")] HRESULT Description( [in] BSTR bstrDescription );
bstrDescription: The Description property of the subscription, as specified in section 3.1.1.2. This MUST be a string of character length less than or equal to 255.
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 new value of the property for syntax. If validation fails, the server MUST fail the call, returning a failure HRESULT back to the client. Otherwise, the server MUST attempt to update the state of the DCOM object servicing this method with the new value of the Description property, and fail the call if it cannot. Otherwise, it MUST override any previous value that was set for this DCOM object instance servicing this method call.