Поделиться через


JobCategory.CategoryType Property

Gets or sets the type of job category.

Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Property CategoryType As CategoryType
public CategoryType CategoryType { get; set; }
public:
property CategoryType CategoryType {
    CategoryType get ();
    void set (CategoryType value);
}
/** @property */
public CategoryType get_CategoryType ()

/** @property */
public void set_CategoryType (CategoryType value)
public function get CategoryType () : CategoryType

public function set CategoryType (value : CategoryType)

Значение свойства

A CategoryType object that specifies the type of job category.

Пример

How to: Get and Set a Property in Visual Basic .NET

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

JobCategory Class
JobCategory Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

Другие ресурсы

Scheduling Automatic Administrative Tasks in SQL Server Agent
Автоматизация задач администрирования (агент SQL Server)
sp_add_category (Transact-SQL)