Export (0) Print
Expand All

DataFileCollection.CopyTo Method (DataFile[], Int32)


Applies To: SQL Server 2016 Preview

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

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

public void CopyTo(
	DataFile[] array,
	int index


Type: Microsoft.SqlServer.Management.Smo.DataFile[]

An array of DataFile objects.

Type: System.Int32

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

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft