共用方式為


ResourceGovernor.ResourcePools 屬性

Gets the Resource Pool Collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ResourcePool))> _
Public ReadOnly Property ResourcePools As ResourcePoolCollection 
    Get
'用途
Dim instance As ResourceGovernor 
Dim value As ResourcePoolCollection 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.ResourcePoolCollection
The Resource Pool Collection.

請參閱

參考

ResourceGovernor 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

資源管理員概念