다음을 통해 공유


WorkloadGroups 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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