EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

IMsTscSecuredSettings::StartProgram property

Specifies the program to be started on the remote server upon connection.

This property is read/write.

Syntax


HRESULT put_StartProgram(
  [in]   BSTR newVal
);

HRESULT get_StartProgram(
  [out]  BSTR *pStartProgram
);

Property value

The name of the new start program. The maximum length of this string is MAX_PATH-1 characters.

Error codes

Returns S_OK if successful.

Remarks

If the value of this property is not set, the session user's shell command will be run. The shell command will be read from the following registry value on the server:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell

Refer to Providing for RDP Client Security for more information.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Type library

Mstscax.dll

DLL

Mstscax.dll

IID

IID_IMsTscSecuredSettings is defined as c9d65442-a0f9-45b2-8f73-d61d2db8cbb6

See also

IMsRdpClientSecuredSettings
IMsTscSecuredSettings

 

 

Mostrar:
© 2014 Microsoft