Delen via


ResourcePoolCollection.Item Property (String)

Gets a member of the Resource Pool Collection identified by name.

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

Syntax

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

value = instance(name)
public ResourcePool this[
    string name
] { get; }
public:
property ResourcePool^ default[String^ name] {
    ResourcePool^ get (String^ name);
}
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.