Share via


TargetServerCollection.Parent Property

Gets the JobServer object that is the parent of the TargetServerCollection object.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Parent As JobServer 
    Get
'Usage
Dim instance As TargetServerCollection 
Dim value As JobServer 

value = instance.Parent
public JobServer Parent { get; }
public:
property JobServer^ Parent {
    JobServer^ get ();
}
member Parent : JobServer
function get Parent () : JobServer

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.JobServer
A JobServer object that is the parent of the TargetServerCollection object.

Remarks

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Using Collections

See Also

Reference

TargetServerCollection Class

Microsoft.SqlServer.Management.Smo.Agent Namespace