The GetAttachedComputer method retrieves the name of the computer that is currently attached as an SDO computer.
HRESULT GetAttachedComputer( BSTR *bstrComputerName );
Pointer to a BSTR that receives the name of the computer that is the currently-attached SDO computer.
If the method succeeds the return value is S_OK.
If no computer is currently attached, the return value is E_FAIL.
The method may also return one of the following error codes.
|Windows version||None supported Windows Server 2008|