다음을 통해 공유


BackupSetCollection.CopyTo 메서드

Copies the elements of the collection to an array, starting at a particular array index.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
‘사용 방법
Dim instance As BackupSetCollection 
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
)

매개 변수

  • array
    유형: System.Array
    The array to hold the copied elements.
  • index
    유형: System.Int32
    The zero-based index in array at which the copying begins.

구현

ICollection.CopyTo(Array, Int32)

참고 항목

참조

BackupSetCollection 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스