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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Agent 命名空間