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

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
)

Parameters

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

Community Additions

Show:
© 2015 Microsoft