Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a collection of JobCategory objects. Each JobCategory object represents a job category defined on Microsoft SQL Server Agent.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(JobCategory))> _
Public ReadOnly Property JobCategories As JobCategoryCollection
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.Agent.JobCategoryCollection
A JobCategoryCollection that represents the job categories defined on SQL Server Agent.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace