共用方式為


Add 方法 (Column, String)

Adds a Column object to the ColumnCollection collection after a specified Column object currently in the ColumnCollection collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    column As Column, _
    insertAtColumnName As String _
)
'用途
Dim instance As ColumnCollection
Dim column As Column
Dim insertAtColumnName As String

instance.Add(column, insertAtColumnName)
public void Add(
    Column column,
    string insertAtColumnName
)
public:
void Add(
    Column^ column, 
    String^ insertAtColumnName
)
member Add : 
        column:Column * 
        insertAtColumnName:string -> unit 
public function Add(
    column : Column, 
    insertAtColumnName : String
)

參數

  • insertAtColumnName
    型別:System. . :: . .String
    A string value that specifies the name of the Column object, currently in the collection, after which to insert the new Column.

範例

使用集合