| IMongoIndexManagerTDocument Interface | 
 
            An interface representing methods used to create, delete and modify indexes.
            
 
    Namespace: 
   MongoDB.Driver
    Assembly:
   MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
 Syntax
Syntaxpublic interface IMongoIndexManager<TDocument>
Public Interface IMongoIndexManager(Of TDocument)
type IMongoIndexManager<'TDocument> =  interface end
Type Parameters
- TDocument
- The type of the document.
The IMongoIndexManagerTDocument type exposes the following members.
 Properties
Properties Methods
Methods|  | Name | Description | 
|---|
|  | CreateMany(IEnumerableCreateIndexModelTDocument, CancellationToken) | 
            Creates multiple indexes.
             | 
|  | CreateMany(IClientSessionHandle, IEnumerableCreateIndexModelTDocument, CancellationToken) | 
            Creates multiple indexes.
             | 
|  | CreateManyAsync(IEnumerableCreateIndexModelTDocument, CancellationToken) | 
            Creates multiple indexes.
             | 
|  | CreateManyAsync(IClientSessionHandle, IEnumerableCreateIndexModelTDocument, CancellationToken) | 
            Creates multiple indexes.
             | 
|  | CreateOne(IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) | 
            Creates an index.
             | 
|  | CreateOne(IClientSessionHandle, IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) | 
            Creates an index.
             | 
|  | CreateOneAsync(IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) | 
            Creates an index.
             | 
|  | CreateOneAsync(IClientSessionHandle, IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) | 
            Creates an index.
             | 
|  | DropAll(CancellationToken) | 
            Drops all the indexes.
             | 
|  | DropAll(IClientSessionHandle, CancellationToken) | 
            Drops all the indexes.
             | 
|  | DropAllAsync(CancellationToken) | 
            Drops all the indexes.
             | 
|  | DropAllAsync(IClientSessionHandle, CancellationToken) | 
            Drops all the indexes.
             | 
|  | DropOne(String, CancellationToken) | 
            Drops an index by its name.
             | 
|  | DropOne(IClientSessionHandle, String, CancellationToken) | 
            Drops an index by its name.
             | 
|  | DropOneAsync(String, CancellationToken) | 
            Drops an index by its name.
             | 
|  | DropOneAsync(IClientSessionHandle, String, CancellationToken) | 
            Drops an index by its name.
             | 
|  | List(CancellationToken) | 
            Lists the indexes.
             | 
|  | List(IClientSessionHandle, CancellationToken) | 
            Lists the indexes.
             | 
|  | ListAsync(CancellationToken) | 
            Lists the indexes.
             | 
|  | ListAsync(IClientSessionHandle, CancellationToken) | 
            Lists the indexes.
             | 
Top Remarks
Remarks See Also
See Also