Partilhar via


Método Add (OrderColumn, Int32)

Adds a OrderColumn to the collection before the column object with the specified index position.

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

Sintaxe

'Declaração
Public Sub Add ( _
    orderColumn As OrderColumn, _
    insertAtPosition As Integer _
)
'Uso
Dim instance As OrderColumnCollection
Dim orderColumn As OrderColumn
Dim insertAtPosition As Integer

instance.Add(orderColumn, insertAtPosition)
public void Add(
    OrderColumn orderColumn,
    int insertAtPosition
)
public:
void Add(
    OrderColumn^ orderColumn, 
    int insertAtPosition
)
member Add : 
        orderColumn:OrderColumn * 
        insertAtPosition:int -> unit 
public function Add(
    orderColumn : OrderColumn, 
    insertAtPosition : int
)

Parâmetros