共用方式為


3.1.4.4.17 get_OwnerSID (Opnum 23)

The get_OwnerSID method gets the OwnerSID property of the subscription.

 [propget, id(9), helpstring("property OwnerSID")] HRESULT OwnerSID(
   [out, retval] BSTR* pbstrOwnerSID
 );

pbstrOwnerSID: If the method returns a success HRESULT, this MUST contain the value of the OwnerSID property of the subscription, as specified in section 3.1.1.2. The value MUST be specified in the Security Descriptor Description Language specified in [MS-DTYP] section 2.5.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 verify that this value was previously set on this DCOM object instance servicing this method call. If not, the server MUST fail the call, returning a failure HRESULT back to the client. Otherwise, the server MUST return the value of the OwnerSID property.