Share via


WorkloadGroup.Importance Property

Gets or sets a value that indicates the level of importance that the workload group has.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Importance As WorkloadGroupImportance
    Get
    Set
'Usage
Dim instance As WorkloadGroup
Dim value As WorkloadGroupImportance

value = instance.Importance

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.WorkloadGroupImportance
A WorkloadGroupImportance value that indicates the level of importance that the workload group has.