共用方式為


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