Share via


TargetServer.Parent Property

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

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As JobServer
    Get
'Usage
Dim instance As TargetServer
Dim value As JobServer

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public JobServer Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property JobServer^ Parent {
    JobServer^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : JobServer
function get Parent () : JobServer

Property Value

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