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
- index
Type: Microsoft.SqlServer.Management.Smo.Index
An Index object value that specifies the index to be removed from the IndexCollection collection.