Freigeben über


JobStep.Parent-Eigenschaft

Gets or sets the Job object that is the parent of the JobStep object.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Job 
    Get 
    Set
'Usage
Dim instance As JobStep 
Dim value As Job 

value = instance.Parent

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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.Agent.Job
A Job object that is the parent of the JobStep object.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobStep Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_help_jobstep (Transact-SQL)