Delen 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