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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间