Export (0) Print
Expand All

ForeignKeyCollection.CopyTo Method (ForeignKey[], 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(
	ForeignKey[] array,
	int index


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

An array of ForeignKey objects.

Type: System.Int32

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

Legacy Code Example

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