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.