ITSRemoteProgram3::ServerStartApp method

Specifies an App to start in the remote session.

Syntax

HRESULT ServerStartApp(
  [in] BSTR         bstrAppUserModelId,
  [in] BSTR         bstrArguments,
  [in] VARIANT_BOOL vbExpandEnvVarInArgumentsOnServer
);

Parameters

bstrAppUserModelId [in]

bstrArguments [in]

vbExpandEnvVarInArgumentsOnServer [in]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Type library
MsTscAx.dll
DLL
MsTscAx.dll

See also

ITSRemoteProgram3