Specifies the name of the server to which the current control is connected.
This property is read/write.
The new server name. This parameter can be a DNS name or IP address.
If the methods succeed, S_OK is returned. Any other HRESULT value indicates that the call failed.
This property must be set before calling the Connect method. It is the only property that must be set before connecting.
This property can be set only if the control is not in the connected state. This property returns E_FAIL if it is called when the control is connected. You can check for the connected state by using the Connected property.
This method allocates the memory required for the buffer pointed to by the pServer parameter. Calling C/C++ applications must free the memory with a call to the SysFreeString function. This is not required for Visual Basic and scripting clients.
For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.
Minimum supported client
|Windows XP [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|
IID_IMsTscAx is defined as 8C11EFAE-92C3-11D1-BC1E-00C04FA31489
Build date: 10/15/2013