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