OrderColumnCollection.Add Method (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 (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub Add ( _
orderColumn As OrderColumn, _
insertAtPosition As Integer _
)
'Kullanım
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
)
Parameters
- orderColumn
Type: Microsoft.SqlServer.Management.Smo.OrderColumn
The column to add to the collection.
- insertAtPosition
Type: System.Int32
The position at which to insert the column.