Export (0) Print
Expand All

ColumnCollection.Add Method (Column, Int32)

Adds a Column object to the ColumnCollection collection at a specified position.

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

public void Add(
	Column column,
	int insertAtPosition
)

Parameters

column
Type: Microsoft.SqlServer.Management.Smo.Column
A Column object value that specifies the column to be added to the ColumnCollection collection.
insertAtPosition
Type: Int32
An Int32 value that specifies the index position in the collection at which to insert the Column object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft