IndexCollection.Remove Method (Index)

Removes an Index object from the IndexCollection collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    index As Index _
)
'Usage
Dim instance As IndexCollection 
Dim index As Index

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

Parameters

Examples

Using Collections

See Also

Reference

IndexCollection Class

Remove Overload

Microsoft.SqlServer.Management.Smo Namespace