Share via


TargetServerGroupCollection.Parent Property

Gets the JobServer object that is the parent of the TargetServerGroupCollection 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 TargetServerGroupCollection 
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 TargetServerGroupCollection object.

Examples

Using Collections

See Also

Reference

TargetServerGroupCollection Class

Microsoft.SqlServer.Management.Smo.Agent Namespace