ResourcePool.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
属性值
类型:Microsoft.SqlServer.Management.Smo.WorkloadGroupCollection
The list of workload groups.