JobCategory.CategoryType 속성

Gets or sets the type of job category.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property CategoryType As CategoryType 
    Get 
    Set
‘사용 방법
Dim instance As JobCategory 
Dim value As CategoryType 

value = instance.CategoryType

instance.CategoryType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public CategoryType CategoryType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property CategoryType CategoryType {
    CategoryType get ();
    void set (CategoryType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member CategoryType : CategoryType with get, set
function get CategoryType () : CategoryType 
function set CategoryType (value : CategoryType)

속성 값

유형: Microsoft.SqlServer.Management.Smo.Agent.CategoryType
A CategoryType object that specifies the type of job category.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobCategory 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_add_category(Transact-SQL)