Share via


IMsTscSecuredSettings::put_StartProgram

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method sets the value of the StartProgram property, which specifies the program to be started on the Terminal server upon connection.

Syntax

HRESULT put_StartProgram(
  BSTR programName
);

Parameters

  • programName
    [in] The string value the StartProgram property is to be set to.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsTscSecuredSettings
IMsTscSecuredSettings::get_StartProgram