JobServer.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.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobServer 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_help_job(Transact-SQL)