Partager via


IMsTscSecuredSettings::put_StartProgram

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

HRESULT put_StartProgram(
  BSTR programName
);

Parameters

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

Return Values

If the method succeeds, the return value is S_OK.

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

IMsTscSecuredSettings | get_StartProgram

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.