Método AvailabilityReplicaCollection.ItemById
Extracts a member from the Resource Pool collection using a system-defined, unique identifier.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Function ItemById ( _
id As Integer _
) As AvailabilityReplica
'Uso
Dim instance As AvailabilityReplicaCollection
Dim id As Integer
Dim returnValue As AvailabilityReplica
returnValue = instance.ItemById(id)
public AvailabilityReplica ItemById(
int id
)
public:
AvailabilityReplica^ ItemById(
int id
)
member ItemById :
id:int -> AvailabilityReplica
public function ItemById(
id : int
) : AvailabilityReplica
Parâmetros
- id
Tipo: System.Int32
A system-generated component identifier.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
A reference to the object extracted.