OperatorCategory Constructor (JobServer, String)
Initializes a new instance of the OperatorCategory class on the specified instance of Microsoft SQL Server Agent and with the specified name.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Синтаксис
'Декларация
Public Sub New ( _
jobServer As JobServer, _
name As String _
)
public OperatorCategory (
JobServer jobServer,
string name
)
public:
OperatorCategory (
JobServer^ jobServer,
String^ name
)
public OperatorCategory (
JobServer jobServer,
String name
)
public function OperatorCategory (
jobServer : JobServer,
name : String
)
Параметры
- jobServer
A JobServer object that specifies the SQL Server Agent Service.
- name
A String value that specifies the name of the operator category.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Пример
How to: Construct an Object in Visual Basic .NET
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
OperatorCategory Class
OperatorCategory Members
Microsoft.SqlServer.Management.Smo.Agent Namespace
Другие ресурсы
Автоматизация задач администрирования (агент SQL Server)
Scheduling Automatic Administrative Tasks in SQL Server Agent
sp_add_category (Transact-SQL)