CSMongo.Commands.MongoDatabaseCommands.DeleteAllCollectionIndexes C# (CSharp) Метод

DeleteAllCollectionIndexes() публичный статический Метод

Removes all indexes from the provided collection
public static DeleteAllCollectionIndexes ( MongoDatabase database, string collection ) : DeleteCollectionIndexResult
database MongoDatabase
collection string
Результат CSMongo.Results.DeleteCollectionIndexResult
        public static DeleteCollectionIndexResult DeleteAllCollectionIndexes(MongoDatabase database, string collection)
        {
            return MongoDatabaseCommands.DeleteCollectionIndex(database, collection, "*");
        }