Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CopyTo Method
Collapse the table of content
Expand the table of content

DataFileCollection.CopyTo Method

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
)

Parameters

array
Type: Microsoft.SqlServer.Management.Smo.DataFile[]
An array of DataFile objects.
index
Type: Int32
An Int32 value that specifies the index position to start the copy.

Community Additions

ADD
Show:
© 2015 Microsoft