Class IfSchemaExistsTask
Checks if a schema exists. In MySql or MariaDb, use the IfDatabaseExistsTask instead.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.ControlFlow
Assembly: ETLBox.dll
Syntax
public sealed class IfSchemaExistsTask : IfExistsTask, ILoggableTask
Constructors
IfSchemaExistsTask()
Declaration
public IfSchemaExistsTask()
IfSchemaExistsTask(string)
Declaration
public IfSchemaExistsTask(string schemaName)
Parameters
Type | Name | Description |
---|---|---|
string | schemaName |
Methods
IsExisting(IConnectionManager, string)
Ćhecks if the schema exists
Declaration
public static bool IsExisting(IConnectionManager connectionManager, string schemaName)
Parameters
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | schemaName | The schema name that you want to check for existence |
Returns
Type | Description |
---|---|
bool | True if the schema exists |
IsExisting(string)
Ćhecks if the schema exists
Declaration
public static bool IsExisting(string schemaName)
Parameters
Type | Name | Description |
---|---|---|
string | schemaName | The schema name that you want to check for existence |
Returns
Type | Description |
---|---|
bool | True if the schema exists |