Class IfSchemaExistsTask

Checks if a schema exists. In MySql or MariaDb, use the IfDatabaseExistsTask instead.

Inheritance
System.Object
IfSchemaExistsTask
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 IfSchemaExistsTask : IfExistsTask, ILoggableTask

Constructors

IfSchemaExistsTask()

Declaration
    public IfSchemaExistsTask()

IfSchemaExistsTask(String)

Declaration
    public IfSchemaExistsTask(string schemaName)
Parameters
TypeNameDescription
System.StringschemaName

Methods

IsExisting(IConnectionManager, String)

Ćhecks if the schema exists

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

The connection manager of the database you want to connect

System.StringschemaName

The schema name that you want to check for existence

Returns
TypeDescription
System.Boolean

True if the schema exists

IsExisting(String)

Ćhecks if the schema exists

Declaration
    public static bool IsExisting(string schemaName)
Parameters
TypeNameDescription
System.StringschemaName

The schema name that you want to check for existence

Returns
TypeDescription
System.Boolean

True if the schema exists

Implements