ISessionStateChangeTrigger::put_StateChange method (taskschd.h)

Gets or sets the kind of Terminal Server session change that would trigger a task launch.

This property is read/write.

Syntax

HRESULT put_StateChange(
  TASK_SESSION_STATE_CHANGE_TYPE type
);

Parameters

type

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

ISessionStateChangeTrigger