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

UserDefinedMessageCollection.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(
	UserDefinedMessage[] array,
	int index


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

Community Additions

© 2015 Microsoft