TechNet
Export (0) Print
Expand All

IndexedColumnCollection.Add Method (IndexedColumn, String)

 

Adds an IndexedColumn object to the position after a specified, existing IndexedColumn object in the IndexedColumnCollection collection.

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

public void Add(
	IndexedColumn indexedColumn,
	string insertAtColumnName
)

Parameters

indexedColumn
Type: Microsoft.SqlServer.Management.Smo.IndexedColumn

An IndexedColumn object value that is to be added into the IndexedColumnCollection collection.

insertAtColumnName
Type: System.String

A String value that specifies the name of the existing IndexedColumn object in the collection after which to insert the new IndexedColumn object.

Return to top
Show:
© 2016 Microsoft