Class DropSchemaTask

Drops a schema. Use DropIfExists to drop a schema only if it exists. For MySql or MariaDb, use the DropDatabase task instead.

Inheritance
System.Object
DropSchemaTask
Implements
Namespace: ETLBox.ControlFlow.Tasks
Assembly: ETLBox.dll
Syntax
    public sealed class DropSchemaTask : DropTask<IfSchemaExistsTask>, ILoggableTask

Constructors

DropSchemaTask()

Declaration
    public DropSchemaTask()

DropSchemaTask(String)

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

Methods

Drop(IConnectionManager, String)

Drops a schema. For MySql, use the DropDatabase task instead.

Declaration
    public static void Drop(IConnectionManager connectionManager, string schemaName)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager

The connection manager of the database you want to connect

System.StringschemaName

Name of the schema to drop

Drop(String)

Drops a schema. For MySql, use the DropDatabase task instead.

Declaration
    public static void Drop(string schemaName)
Parameters
TypeNameDescription
System.StringschemaName

Name of the schema to drop

DropIfExists(IConnectionManager, String)

Drops a schema if the schema exists. For MySql, use the DropDatabase task instead.

Declaration
    public static void DropIfExists(IConnectionManager connectionManager, string schemaName)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager

The connection manager of the database you want to connect

System.StringschemaName

Name of the schema to drop

DropIfExists(String)

Drops a schema if the schema exists. For MySql, use the DropDatabase task instead.

Declaration
    public static void DropIfExists(string schemaName)
Parameters
TypeNameDescription
System.StringschemaName

Name of the schema to drop

Implements