Méthode AvailabilityReplicaCollection.CopyTo
Copies the set of connections exposed in the Visual Studio Server Explorer to an array, starting at the specified array index.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
array As AvailabilityReplica(), _
index As Integer _
)
'Utilisation
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
)
Paramètres
- array
Type : array<Microsoft.SqlServer.Management.Smo.AvailabilityReplica[]
Array into which the connections are copied.
- index
Type : System.Int32
The index into the array at which copying should begin.