Click or drag to resize
Task Scheduler Managed Class Library

TaskEventGetDataValue Method

Note: This API is now obsolete.

Gets the data value from the task specific event data item list.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
[ObsoleteAttribute("Use the DataVales property instead.")]
public string GetDataValue(
	string name
)
Request Example View Source

Parameters

name
Type: SystemString
The name of the data element.

Return Value

Type: String
Contents of the requested data element if found. null if no value found.
See Also