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 네임스페이스

관련 자료

컬렉션 사용