Share via


IMsTscSecuredSettings::get_StartProgram

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

HRESULT get_StartProgram(
  BSTR* pStartProgram
);

Parameters

  • pStartProgram
    [out] Pointer to the value the StartProgram property is set to.

Return Values

If the method succeeds, the return value is S_OK.

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

Remarks

This method allocates the memory required for the buffer pointed to by pStartProgram. Calling C/C++ applications must free the memory with a call to the SysFreeString function. This is not required for Visual Basic clients.

Requirements

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

See Also

IMsTscSecuredSettings | put_StartProgram

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.