MongoRepositoryManager(T, TKey).IndexExists Method

MongoRepository

MongoRepositoryManagerT, 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
public virtual bool IndexExists(
	string keyname
)
Public Overridable Function IndexExists ( 
	keyname As String
) As Boolean
public:
virtual bool IndexExists(
	String^ keyname
)
abstract IndexExists : 
        keyname : string -> bool 
override IndexExists : 
        keyname : string -> bool 

Parameters

keyname
Type: SystemString
The indexed fields.

Return Value

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

Implements

IRepositoryManagerT, TKeyIndexExists(String)
See Also