Udostępnij za pośrednictwem


JobServer.AlertCategories Property

Represents a collection of AlertCategory objects. Each AlertCategory object represents an alert category defined on SQL Server Agent.

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(AlertCategory))> _
Public ReadOnly Property AlertCategories As AlertCategoryCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(AlertCategory))] 
public AlertCategoryCollection AlertCategories { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(AlertCategory))] 
public:
property AlertCategoryCollection^ AlertCategories {
    AlertCategoryCollection^ get ();
}
/** @property */
public AlertCategoryCollection get_AlertCategories ()
public function get AlertCategories () : AlertCategoryCollection

Property Value

An AlertCategoryCollection object that represents all the alert categories defined on SQL Server Agent.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.