Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Copies the collection objects to a one-dimensional array beginning at the index value specified.
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 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
)
Parameters
- array
Type: System.Array
An array of RegisteredServer objects.
- index
Type: System.Int32
An [T:System.] Int32 value that specifies the index position to start the copy.
Implements
ICollection.CopyTo(Array, Int32)
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace