TaskNamedValuePair object

Scripting object that is used to create a name-value pair in which the name is associated with the value.

Members

The TaskNamedValuePair object has these types of members:

Properties

The TaskNamedValuePair object has these properties.

Property Description
Name
Gets or sets the name that is associated with a value in a name-value pair.
Value
Gets or sets the value that is associated with a name in a name-value pair.

Remarks

When reading or writing your own XML for a task, a name-value pair is specified using the ValueQueries element of the Task Scheduler schema.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

TaskNamedValueCollection