Метод AvailabilityGroupListenerCollection.CopyTo
Copies the collection objects to a one-dimensional array beginning at the index value specified.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub CopyTo ( _
array As AvailabilityGroupListener(), _
index As Integer _
)
'Применение
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
)
Параметры
- array
Тип: array<Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener[]
An array of AvailabilityGroupListener objects.
- index
Тип: System.Int32
The index value from which to start the copy.