public static bool IndexExists( SqlConnection connection, string tableName, string indexName )
Parameters
- connection
- the sql connection
- tableName
- Name of the table
- indexName
- Name of the index to check for
Return Value
True if the index exists for the table, false otherwise.