Knight Data Access Layer
IndexExists Method (IDataHelper)




KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface : IndexExists Method
Detect if an index exists
Syntax
Function IndexExists( _
   ByVal tableName As String, _
   ByVal indexName As String _
) As Boolean
Dim instance As IDataHelper
Dim tableName As String
Dim indexName As String
Dim value As Boolean
 
value = instance.IndexExists(tableName, indexName)
bool IndexExists( 
   string tableName,
   string indexName
)
bool IndexExists( 
   string* tableName,
   string* indexName
) 
bool IndexExists( 
   String^ tableName,
   String^ indexName
) 

Parameters

tableName
indexName

Return Value

True if it exists
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDataHelper Interface
IDataHelper Members