Class DropTableTask
Drops a table. Use DropIfExists to drop a table only if it exists.
Implements
Inherited Members
Namespace: ETLBox.ControlFlow
Assembly: ETLBox.dll
Syntax
public sealed class DropTableTask : DropTask<IfTableOrViewExistsTask>, ILoggableTaskConstructors
DropTableTask()
Declaration
public DropTableTask()DropTableTask(string)
Declaration
public DropTableTask(string tableName)Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName |
Methods
Drop(IConnectionManager, string)
Drops a table.
Declaration
public static void Drop(IConnectionManager connectionManager, string tableName)Parameters
| Type | Name | Description |
|---|---|---|
| IConnectionManager | connectionManager | The connection manager of the database you want to connect |
| string | tableName | Name of the table to drop |
Drop(string)
Drops a table.
Declaration
public static void Drop(string tableName)Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | 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
| Type | Name | Description |
|---|---|---|
| IConnectionManager | connectionManager | The connection manager of the database you want to connect |
| string | tableName | Name of the table to drop |
DropIfExists(string)
Drops a table if the table exists.
Declaration
public static void DropIfExists(string tableName)Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | Name of the table to drop |