IfIndexExistsTask

Class IfIndexExistsTask

Checks if an index exists.

Implements
Namespace: ETLBox.ControlFlow
Assembly: ETLBox.dll
Syntax
    public sealed class IfIndexExistsTask : IfExistsTask, ILoggableTask

Constructors

IfIndexExistsTask()

Declaration
    public IfIndexExistsTask()

IfIndexExistsTask(string, string)

Declaration
    public IfIndexExistsTask(string indexName, string tableName)
Parameters
TypeNameDescription
stringindexName
stringtableName

Methods

IsExisting(IConnectionManager, string, string)

Ćhecks if the index exists

Declaration
    public static bool IsExisting(IConnectionManager connectionManager, string indexName, string tableName)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager

The connection manager of the database you want to connect

stringindexName

The index name that you want to check for existence

stringtableName

The table name on which the index is based on

Returns
TypeDescription
bool

True if the index exists

IsExisting(string, string)

Ćhecks if the index exists

Declaration
    public static bool IsExisting(string indexName, string tableName)
Parameters
TypeNameDescription
stringindexName

The index name that you want to check for existence

stringtableName

The table name on which the index is based on

Returns
TypeDescription
bool

True if the index exists

Implements