Propriété JobServer.AlertCategories
Represents a collection of AlertCategory objects. Each AlertCategory object represents an alert category defined on 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(AlertCategory))> _
Public ReadOnly Property AlertCategories As AlertCategoryCollection
Get
'Utilisation
Dim instance As JobServer
Dim value As AlertCategoryCollection
value = instance.AlertCategories
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(AlertCategory))]
public AlertCategoryCollection AlertCategories { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(AlertCategory))]
public:
property AlertCategoryCollection^ AlertCategories {
AlertCategoryCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(AlertCategory))>]
member AlertCategories : AlertCategoryCollection
function get AlertCategories () : AlertCategoryCollection
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Agent.AlertCategoryCollection
An AlertCategoryCollection object that represents all the alert 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
Autres ressources
Tâches d'administration automatisée (Agent SQL Server)