共用方式為


JobSteps 屬性

Gets a collection of JobStep objects that represent the job steps defined for the job.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(JobStep))> _
Public ReadOnly Property JobSteps As JobStepCollection
    Get
'用途
Dim instance As Job
Dim value As JobStepCollection

value = instance.JobSteps
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(JobStep))]
public JobStepCollection JobSteps { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(JobStep))]
public:
property JobStepCollection^ JobSteps {
    JobStepCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(JobStep))>]
member JobSteps : JobStepCollection
function get JobSteps () : JobStepCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobStepCollection
A JobStepCollection object value that specifies a collection of JobStep objects.