OrderColumnCollection.Add Method (OrderColumn, String)
Inserts a new object into the collection, before the column with the specified name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
orderColumn As OrderColumn, _
insertAtColumnName As String _
)
'Usage
Dim instance As OrderColumnCollection
Dim orderColumn As OrderColumn
Dim insertAtColumnName As String
instance.Add(orderColumn, insertAtColumnName)
public void Add(
OrderColumn orderColumn,
string insertAtColumnName
)
public:
void Add(
OrderColumn^ orderColumn,
String^ insertAtColumnName
)
member Add :
orderColumn:OrderColumn *
insertAtColumnName:string -> unit
public function Add(
orderColumn : OrderColumn,
insertAtColumnName : String
)
Parameters
- orderColumn
Type: Microsoft.SqlServer.Management.Smo.OrderColumn
The column to add to the collection.
- insertAtColumnName
Type: System.String
The position at which to insert the column.