JobServer.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.
예
SQL Server 에이전트에서 자동 관리 태스크 예약
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Agent 네임스페이스