Class DropTableTask
Drops a table. Use DropIfExists to drop a table only if it exists.
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 DropTableTask : DropTask<IfTableOrViewExistsTask>, ILoggableTask
Constructors
DropTableTask()
Declaration
public DropTableTask()
DropTableTask(String)
Declaration
public DropTableTask(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
System.String | tableName | Name of the table to drop |
Drop(String)
Drops a table.
Declaration
public static void Drop(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
System.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 |
---|---|---|
System.String | tableName | Name of the table to drop |