IMsTscSecuredSettings::WorkDir property

Specifies the working directory of the start program.

This property is read/write.

Syntax

HRESULT put_WorkDir(
  [in]  BSTR newVal
);

HRESULT get_WorkDir(
  [out] BSTR *pWorkDir
);

Property value

The new working directory. The maximum length of this string is MAX_PATH-1 characters.

Error codes

Returns S_OK if successful.

Remarks

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

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsTscSecuredSettings is defined as c9d65442-a0f9-45b2-8f73-d61d2db8cbb6

See also

IMsRdpClientSecuredSettings

IMsTscSecuredSettings