Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OrderColumnCollection.Add Method (OrderColumn, Int32)


Adds a OrderColumn to the collection before the column object with the specified index position.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Add(
	OrderColumn orderColumn,
	int insertAtPosition


Type: Microsoft.SqlServer.Management.Smo.OrderColumn

The column to add to the collection.

Type: System.Int32

The position at which to insert the column.

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