Metodo AvailabilityGroupListenerCollection.CopyTo
Copies the collection objects to a one-dimensional array beginning at the index value specified.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub CopyTo ( _
array As AvailabilityGroupListener(), _
index As Integer _
)
'Utilizzo
Dim instance As AvailabilityGroupListenerCollection
Dim array As AvailabilityGroupListener()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
AvailabilityGroupListener[] array,
int index
)
public:
void CopyTo(
array<AvailabilityGroupListener^>^ array,
int index
)
member CopyTo :
array:AvailabilityGroupListener[] *
index:int -> unit
public function CopyTo(
array : AvailabilityGroupListener[],
index : int
)
Parametri
- array
Tipo: array<Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener[]
An array of AvailabilityGroupListener objects.
- index
Tipo: System.Int32
The index value from which to start the copy.