Düzenle

Aracılığıyla paylaş


ITSRemoteProgram::RemoteProgramMode property

The Windows Server 2008 R2 RemoteApp mode.

This property is read/write.

Syntax

HRESULT put_RemoteProgramMode(
  [in]  VARIANT_BOOL vboolRemoteProgramMode
);

HRESULT get_RemoteProgramMode(
  [out] VARIANT_BOOL *pvboolRemoteProgramMode
);

Property value

The RemoteApp mode. If set to VARIANT_TRUE, RemoteApp mode is enabled, and the remote session will host RemoteApp programs. If set to VARIANT_FALSE (the default), RemoteApp mode is not enabled. The remote session will host a remote desktop.

Error codes

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_ITSRemoteProgram is defined as FDD029F9-467A-4c49-8529-64B521DBD1B4

See also

ITSRemoteProgram2

ITSRemoteProgram3

ITSRemoteProgram