AvailabilityReplicaCollection.CopyTo Método
Copies the set of connections exposed in the Visual Studio Server Explorer to an array, starting at the specified array index.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub CopyTo ( _
array As AvailabilityReplica(), _
index As Integer _
)
'Uso
Dim instance As AvailabilityReplicaCollection
Dim array As AvailabilityReplica()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
AvailabilityReplica[] array,
int index
)
public:
void CopyTo(
array<AvailabilityReplica^>^ array,
int index
)
member CopyTo :
array:AvailabilityReplica[] *
index:int -> unit
public function CopyTo(
array : AvailabilityReplica[],
index : int
)
Parámetros
- array
Tipo: array<Microsoft.SqlServer.Management.Smo.AvailabilityReplica[]
Array into which the connections are copied.
- index
Tipo: System.Int32
The index into the array at which copying should begin.