Class DropTableTask

Drops a table. Use DropIfExists to drop a table only if it exists.

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

Constructors

DropTableTask()

Declaration
    public DropTableTask()

DropTableTask(String)

Declaration
    public DropTableTask(string tableName)
Parameters
TypeNameDescription
System.StringtableName

Methods

Drop(IConnectionManager, String)

Drops a table.

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

The connection manager of the database you want to connect

System.StringtableName

Name of the table to drop

Drop(String)

Drops a table.

Declaration
    public static void Drop(string tableName)
Parameters
TypeNameDescription
System.StringtableName

Name of the table to drop

DropIfExists(IConnectionManager, String)

Drops a table if the table exists.

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

The connection manager of the database you want to connect

System.StringtableName

Name of the table to drop

DropIfExists(String)

Drops a table if the table exists.

Declaration
    public static void DropIfExists(string tableName)
Parameters
TypeNameDescription
System.StringtableName

Name of the table to drop

Implements