TaskSettings.NetworkSettings property

For scripting, gets or sets the network settings object that contains a network profile identifier and name. If the RunOnlyIfNetworkAvailable property of TaskSettings is True and a network propfile is specified in the NetworkSettings property, then the task will run only if the specified network profile is available.

Syntax

TaskSettings.NetworkSettings As NetworkSettings

Property value

A NetworkSettings object that contains a network profile identifier and name.

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

TaskSettings

NetworkSettings