3.2.4.1.9 GetServerName (Opnum 15)

The GetServerName method returns the server name.

 [id(9), helpstring("method GetServerName")] HRESULT GetServerName(
   [out] BSTR* pbstrServerName
 );

pbstrServerName: A pointer to a string that returns the server name.

Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.<33>

Return value/code

Description

0x00000000

S_OK

Operation successful.

Additional IResourceManager interface methods are specified in section 3.2.4.1.