共用方式為


Add 方法 (IndexedColumn, String)

Adds an IndexedColumn object to the position after a specified, existing IndexedColumn object in the IndexedColumnCollection collection.

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

語法

'宣告
Public Sub Add ( _
    indexedColumn As IndexedColumn, _
    insertAtColumnName As String _
)
'用途
Dim instance As IndexedColumnCollection
Dim indexedColumn As IndexedColumn
Dim insertAtColumnName As String

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

參數

範例

使用集合