DatabaseSegmentCollection.CopyTo Method (DatabaseSegment , Int32)

 

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

public void CopyTo(
    DatabaseSegment[] array,
    int index
)
public:
void CopyTo(
    array<DatabaseSegment^>^ array,
    int index
)
member CopyTo : 
        array:DatabaseSegment[] *
        index:int -> unit
Public Sub CopyTo (
    array As DatabaseSegment(),
    index As Integer
)

Parameters

  • index
    Type: System.Int32

    The zero-based index at which the copying begins.

See Also

DatabaseSegmentCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top