Metodo AvailabilityGroupCollection.CopyTo
Copies the current availability group collection to the specified availability group array at the specified index.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub CopyTo ( _
array As AvailabilityGroup(), _
index As Integer _
)
'Utilizzo
Dim instance As AvailabilityGroupCollection
Dim array As AvailabilityGroup()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
AvailabilityGroup[] array,
int index
)
public:
void CopyTo(
array<AvailabilityGroup^>^ array,
int index
)
member CopyTo :
array:AvailabilityGroup[] *
index:int -> unit
public function CopyTo(
array : AvailabilityGroup[],
index : int
)
Parametri
- array
Tipo: array<Microsoft.SqlServer.Management.Smo.AvailabilityGroup[]
The array of availability group to which the collection will be copied.
- index
Tipo: System.Int32
The index of the availability group array at which the collection groups will be copied.