Поделиться через


Свойство WorkloadGroups

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(WorkloadGroup))> _
Public ReadOnly Property WorkloadGroups As WorkloadGroupCollection
    Get
'Применение
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