3.1.4.4.9 get_MethodName (Opnum 15)

The get_MethodName method gets the MethodName property of the subscription.

 [propget, id(5), helpstring("property MethodName")] HRESULT MethodName(
   [out, retval] BSTR* pbstrMethodName
 );

pbstrMethodName: If the method returns a success HRESULT, this MUST contain the MethodName property of the subscription, as specified in section 3.1.1.2. The value MUST conform to the format as specified in section 2.2.4.

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 MethodName property.