Właściwość JobServer.AlertCategories
Reprezentuje kolekcja AlertCategory obiektów.Każdy AlertCategory obiekt reprezentuje kategorii alert na SQL Server agenta.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Agent
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(AlertCategory))> _
Public ReadOnly Property AlertCategories As AlertCategoryCollection
Get
'Użycie
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
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.Agent.AlertCategoryCollection
AlertCategoryCollection Obiektu reprezentująca alert kategorie zdefiniowane na SQL Server agenta.
Zobacz także