Delen via


JobCollection.Parent Property

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