MongoRepositoryManager(T, TKey).IndexesExists Method

MongoRepository

MongoRepositoryManagerT, TKeyIndexesExists Method
Tests whether indexes exist.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
public virtual bool IndexesExists(
	IEnumerable<string> keynames
)
Public Overridable Function IndexesExists ( 
	keynames As IEnumerable(Of String)
) As Boolean
public:
virtual bool IndexesExists(
	IEnumerable<String^>^ keynames
)
abstract IndexesExists : 
        keynames : IEnumerable<string> -> bool 
override IndexesExists : 
        keynames : IEnumerable<string> -> bool 

Parameters

keynames
Type: System.Collections.GenericIEnumerableString
The indexed fields.

Return Value

Type: Boolean
Returns true when the indexes exist, false otherwise.

Implements

IRepositoryManagerT, TKeyIndexesExists(IEnumerableString)
See Also