Propriété JobServer.JobCategories
Represents a collection of JobCategory objects. Each JobCategory object represents a job category defined on Microsoft SQL Server Agent.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(JobCategory))> _
Public ReadOnly Property JobCategories As JobCategoryCollection
Get
'Utilisation
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
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Agent.JobCategoryCollection
A JobCategoryCollection that represents the job categories defined on SQL Server Agent.
Exemples
Planification des tâches administratives automatiques dans l'Agent SQL Server
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Agent