The DirectoryServiceServer method is received by the server in an RPC_REQUEST packet. In response, the server MUST return a string that contains the name of the current directory computer.

 [propget] HRESULT DirectoryServiceServer(
   [out, retval] BSTR* pbstrDirectoryServiceServer
 );

pbstrDirectoryServiceServer: A pointer to a BSTR that, when successfully completed, contains the name of the directory computer in DNS or NetBIOS format, prefixed by "\\". The string MUST use the following format, which is specified in ABNF.

 DirectoryServer ="\\" Name
 Alpha           = %x41-5A / %x61-7A
 Name            =1*255Alpha

Return Values: The method MUST return S_OK (0x00000000) to indicate success or an implementation-specific error HRESULT on failure.

When the server processes this call, it MUST follow these guidelines: