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.