Class IfIndexExistsTask
Checks if an index exists.
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
Type | Name | Description |
---|---|---|
System.String | indexName | |
System.String | tableName |
Methods
IsExisting(IConnectionManager, String, String)
Ćhecks if the index exists
Declaration
public static bool IsExisting(IConnectionManager connectionManager, string indexName, string tableName)
Parameters
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
System.String | indexName | The index name that you want to check for existence |
System.String | tableName | The table name on which the index is based on |
Returns
Type | Description |
---|---|
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
Type | Name | Description |
---|---|---|
System.String | indexName | The index name that you want to check for existence |
System.String | tableName | The table name on which the index is based on |
Returns
Type | Description |
---|---|
System.Boolean | True if the index exists |