Class IfIndexExistsTask

Checks if an index exists.

Inheritance
System.Object
IfIndexExistsTask
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ETLBox.ControlFlow.Tasks
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
System.StringindexName
System.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

System.StringindexName

The index name that you want to check for existence

System.StringtableName

The table name on which the index is based on

Returns
TypeDescription
System.Boolean

True if the index exists

IsExisting(String, String)

Ćhecks if the index exists

Declaration
    public static bool IsExisting(string indexName, string tableName)
Parameters
TypeNameDescription
System.StringindexName

The index name that you want to check for existence

System.StringtableName

The table name on which the index is based on

Returns
TypeDescription
System.Boolean

True if the index exists

Implements