다음을 통해 공유


AlertCategories 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(AlertCategory))> _
Public ReadOnly Property AlertCategories As AlertCategoryCollection
    Get
‘사용 방법
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

속성 값

유형: Microsoft.SqlServer.Management.Smo.Agent. . :: . .AlertCategoryCollection
An AlertCategoryCollection object that represents all the alert categories defined on SQL Server Agent.