IndexCollection.Add Method

Adds an Index object to the IndexCollection collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    index As Index _
)
'Usage
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
)

Parameters

Examples

Using Collections

See Also

Reference

IndexCollection Class

Microsoft.SqlServer.Management.Smo Namespace