Share via


ResourcePoolCollection.Item Property (Int32)

Gets an member of the Resource Pool Collection using the numeric ID of the item.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ResourcePool 
    Get
'Usage
Dim instance As ResourcePoolCollection 
Dim index As Integer 
Dim value As ResourcePool 

value = instance(index)
public ResourcePool this[
    int index
] { get; }
public:
property ResourcePool^ default[int index] {
    ResourcePool^ get (int index);
}
member Item : ResourcePool
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.ResourcePool
A Resource Pool item.

See Also

Reference

ResourcePoolCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Resource Governor Concepts