ResourceGovernor.ResourcePools Property
Gets the Resource Pool Collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(ResourcePool))> _
Public ReadOnly Property ResourcePools As ResourcePoolCollection
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.ResourcePoolCollection
ResourcePoolCollection
See Also