TaskService.ConnectedDomain property

For scripting, gets the name of the domain to which the TargetServer computer is connected.

Syntax

TaskService.ConnectedDomain As String

Property value

The domain to which the TargetServer computer is connected.

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