Export (0) Print
Expand All

ColumnCollection.Add Method (Column, String)

Adds a Column object to the ColumnCollection collection after a specified Column object currently in the ColumnCollection collection.

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

public void Add(
	Column column,
	string insertAtColumnName
)

Parameters

column
Type: Microsoft.SqlServer.Management.Smo.Column
A Column object that already exists in the collection after which the new Column object is inserted.
insertAtColumnName
Type: String
A string value that specifies the name of the Column object, currently in the collection, after which to insert the new Column.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft