Parent 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Job
    Get
    Set
用法
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)

属性值

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