Свойство JobServer.OperatorCategories
Represents a collection of OperatorCategory objects. Each OperatorCategory object represents an operator category defined on SQL Server Agent.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(OperatorCategory))> _
Public ReadOnly Property OperatorCategories As OperatorCategoryCollection
Get
'Применение
Dim instance As JobServer
Dim value As OperatorCategoryCollection
value = instance.OperatorCategories
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(OperatorCategory))]
public OperatorCategoryCollection OperatorCategories { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(OperatorCategory))]
public:
property OperatorCategoryCollection^ OperatorCategories {
OperatorCategoryCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(OperatorCategory))>]
member OperatorCategories : OperatorCategoryCollection
function get OperatorCategories () : OperatorCategoryCollection
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo.Agent.OperatorCategoryCollection
A OperatorCategoryCollection that represents the operator categories defined on SQL Server Agent.
Примеры
Планирование автоматических административных задач в агенте SQL Server
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.Agent
Другие ресурсы
Задачи автоматизированного администрирования (агент SQL Server)