Add 方法

Adds an Index object to the IndexCollection collection.

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

語法

'宣告
Public Sub Add ( _
    index As Index _
)
'用途
Dim instance As IndexCollection
Dim index As Index

instance.Add(index)
public void Add(
    Index index
)
public:
void Add(
    Index^ index
)
member Add : 
        index:Index -> unit 
public function Add(
    index : Index
)

參數

範例

使用集合