مشاركة عبر


RegisteredServerCollection.CopyTo Method

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

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Usage
Dim instance As RegisteredServerCollection 
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

  • index
    Type: System.Int32
    An Int32 value that specifies the index value in the collection to start copying.

Implements

ICollection.CopyTo(Array, Int32)

Examples

Using Collections

See Also

Reference

RegisteredServerCollection Class

Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

Using Collections