Aracılığıyla paylaş


ResourcePool.WorkloadGroups Property

Gets or sets a Workload Groups collection associated with a Resource Pool.

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

Syntax

'Bildirim
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(WorkloadGroup))> _
Public ReadOnly Property WorkloadGroups As WorkloadGroupCollection
    Get
'Kullanım
Dim instance As ResourcePool
Dim value As WorkloadGroupCollection

value = instance.WorkloadGroups
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(WorkloadGroup))]
public WorkloadGroupCollection WorkloadGroups { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(WorkloadGroup))]
public:
property WorkloadGroupCollection^ WorkloadGroups {
    WorkloadGroupCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(WorkloadGroup))>]
member WorkloadGroups : WorkloadGroupCollection
function get WorkloadGroups () : WorkloadGroupCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.WorkloadGroupCollection
The list of workload groups.

See Also

Reference

ResourcePool Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Resource Governor Concepts