Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseRoleCollection.CopyTo Method (DatabaseRole[], Int32)


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(
	DatabaseRole[] array,
	int index


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

An array of DatabaseRole objects.

Type: System.Int32

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

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