Knight Data Access Layer
IndexExists Method (SqLiteProvider)




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

Parameters

tableName
indexName

Return Value

True if the index 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

SqLiteProvider Class
SqLiteProvider Members