다음을 통해 공유


JobCategories 속성

Represents a collection of JobCategory objects. Each JobCategory object represents a job category defined on Microsoft SQL Server Agent.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(JobCategory))> _
Public ReadOnly Property JobCategories As JobCategoryCollection
    Get
‘사용 방법
Dim instance As JobServer
Dim value As JobCategoryCollection

value = instance.JobCategories
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(JobCategory))]
public JobCategoryCollection JobCategories { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(JobCategory))]
public:
property JobCategoryCollection^ JobCategories {
    JobCategoryCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(JobCategory))>]
member JobCategories : JobCategoryCollection
function get JobCategories () : JobCategoryCollection

속성 값

유형: Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobCategoryCollection
A JobCategoryCollection that represents the job categories defined on SQL Server Agent.