LinkedServerCollection.CopyTo(LinkedServer[], Int32) LinkedServerCollection.CopyTo(LinkedServer[], Int32) LinkedServerCollection.CopyTo(LinkedServer[], Int32) Method

Definition

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

public:
 void CopyTo(cli::array <Microsoft::SqlServer::Management::Smo::LinkedServer ^> ^ array, int index);
public void CopyTo (Microsoft.SqlServer.Management.Smo.LinkedServer[] array, int index);
Public Sub CopyTo (array As LinkedServer(), index As Integer)
Parameters
array
LinkedServer[]

An array of LinkedServer objects.

index
Int32 Int32 Int32

An Int32 value that specifies the index position from which to start the copy.

Examples

Using Collections

Applies to