IRepositoryManager(T, TKey).IndexExists Method

MongoRepository

IRepositoryManagerT, TKeyIndexExists Method
Tests whether indexes exist.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
bool IndexExists(
	string keyname
)
Function IndexExists ( 
	keyname As String
) As Boolean
bool IndexExists(
	String^ keyname
)
abstract IndexExists : 
        keyname : string -> bool 

Parameters

keyname
Type: SystemString
The indexed fields.

Return Value

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