Partager via


CategoryType propriété

Gets or sets the type of job category.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property CategoryType As CategoryType
    Get
    Set
'Utilisation
Dim instance As JobCategory
Dim value As CategoryType

value = instance.CategoryType

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

Valeur de la propriété

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