3.1.4.4.2 put_SubscriptionID (Opnum 8)
The put_SubscriptionID method sets the SubscriptionID property of the subscription.
-
[propput, id(1), helpstring("property SubscriptionID")] HRESULT SubscriptionID( [in] BSTR bstrSubscriptionID );
bstrSubscriptionID: A UUID uniquely identifying the subscription, in the string format specified in section 2.2.3. This MUST be a UUID generated by the client, as specified in [C706] section A.2.5.
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 SubscriptionID 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.