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