Knight Data Access Layer
IndexExists Method (BaseOracleProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > BaseOracleProvider Class : IndexExists Method
Name of the table.
Name of the index.
Detect if an index exists
Syntax
Public Function IndexExists( _
   ByVal tableName As String, _
   ByVal indexName As String _
) As Boolean
Dim instance As BaseOracleProvider
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
Name of the table.
indexName
Name of the index.

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

BaseOracleProvider Class
BaseOracleProvider Members