Share via


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

  • insertAtColumnName
    Type: System.String
    The position at which to insert the column.

See Also

Reference

OrderColumnCollection Class

Add Overload

Microsoft.SqlServer.Management.Smo Namespace