OrderColumnCollection.Add 方法 (OrderColumn, Int32)
Adds a OrderColumn to the collection before the column object with the specified index position.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
orderColumn As OrderColumn, _
insertAtPosition As Integer _
)
'用途
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
)
參數
- orderColumn
型別:Microsoft.SqlServer.Management.Smo.OrderColumn
The column to add to the collection.
- insertAtPosition
型別:System.Int32
The position at which to insert the column.