Share via


ResourcePoolCollection.ItemById Method

Extracts a member from the Resource Pool collection using a system-defined, unique identifier.

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

Syntax

'Declaration
Public Function ItemById ( _
    id As Integer _
) As ResourcePool
'Usage
Dim instance As ResourcePoolCollection 
Dim id As Integer 
Dim returnValue As ResourcePool 

returnValue = instance.ItemById(id)
public ResourcePool ItemById(
    int id
)
public:
ResourcePool^ ItemById(
    int id
)
member ItemById : 
        id:int -> ResourcePool
public function ItemById(
    id : int
) : ResourcePool

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ResourcePool
A member from the Resource Pool collection.

See Also

Reference

ResourcePoolCollection Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Resource Governor Concepts