IMsTscAx::get_Server
Other versions of this page are also available for the following:
8/28/2008
This method retrieves the value of the Server property, which specifies which Terminal server the current control is connected to.
Syntax
HRESULT get_Server(
BSTR* Server
);
Parameters
- Server
[out] A pointer to the value of the Server property.
Return Value
If the method succeeds, the return value is S_OK.
If it fails, the method returns a nonzero error code.
Remarks
This method allocates the memory for the buffer pointed to by pServer. C/C++ applications must call the SysFreeString function to free the memory. This is not required for Visual Basic clients.
Requirements
Header | discodlg.h, mstsax.idl |
Library | Mstsax.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |