JobServer.Parent Property

Gets the Server object that is the parent of the JobServer 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 Server 
    Get
'Usage
Dim instance As JobServer 
Dim value As Server 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Server
A Server object value that specifies the parent of the JobServer object.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

SQL Server Agent Stored Procedures (Transact-SQL)