Aracılığıyla paylaş


BackupSetCollection.CopyTo Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Kullanım
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
)

Parameters

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

Implements

ICollection.CopyTo(Array, Int32)

See Also

Reference

BackupSetCollection Class

Microsoft.SqlServer.Management.Smo Namespace