Метод ServerGroupCollection.CopyTo

Copies the collection objects to a one-dimensional array beginning at the index value specified.

Пространство имен:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Применение
Dim instance As ServerGroupCollection 
Dim array As Array 
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
abstract CopyTo : 
        array:Array * 
        index:int -> unit  
override CopyTo : 
        array:Array * 
        index:int -> unit
public final function CopyTo(
    array : Array, 
    index : int
)

Параметры

  • index
    Тип: System.Int32
    An [T:System.] Int32 value that specifies the index position to start the copy.

Реализует

ICollection.CopyTo(Array, Int32)

Примеры

Использование коллекций

См. также

Справочник

ServerGroupCollection Класс

Пространство имен Microsoft.SqlServer.Management.Smo.RegisteredServers

Другие ресурсы

Использование коллекций