ITaskSettings::get_NetworkSettings method (taskschd.h)

Gets or sets the network settings object that contains a network profile identifier and name. If the RunOnlyIfNetworkAvailable property of ITaskSettings 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.

This property is read/write.

Syntax

HRESULT get_NetworkSettings(
  INetworkSettings **ppNetworkSettings
);

Parameters

ppNetworkSettings

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

INetworkSettings

ITaskSettings