AvailabilityReplicaCollection.ItemById Método
Extracts a member from the Resource Pool collection using a system-defined, unique identifier.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
A reference to the object extracted.