IMsTscAx::DisconnectedText property

Specifies the text that appears centered in the control before a connection is terminated.

This property is read/write.

Syntax


HRESULT put_DisconnectedText(
  [in]   BSTR newVal
);

HRESULT get_DisconnectedText(
  [out]  BSTR *pDisconnectedText
);

Property value

The new display text.

Error codes

Return S_OK if successful.

Remarks

Setting the DisconnectedText property is optional. If it is not specified the control appears blank before a connection is established.

This property can be set only if the control is not in the connected state. The method returns E_FAIL if it is called after the control is connected. You can check if the control is connected by responding to connection events in IMsTscAxEvents or examining the Connected property.

This method allocates the memory required for the buffer pointed to by the pDisconnectedText 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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Type library

Mstscax.dll

DLL

Mstscax.dll

IID

IID_IMsTscAx is defined as 8C11EFAE-92C3-11D1-BC1E-00C04FA31489

See also

IMsRdpClient
IMsRdpClient2
IMsRdpClient3
IMsRdpClient4
IMsRdpClient5
IMsRdpClient6
IMsRdpClient7
IMsRdpClient8
IMsTscAx

 

 

Show:
© 2014 Microsoft