Class DropViewTask

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

Implements
Namespace: ETLBox.ControlFlow.Tasks
Assembly: ETLBox.dll
Syntax
    public sealed class DropViewTask : DropTask<IfTableOrViewExistsTask>, ILoggableTask

Constructors

DropViewTask()

Declaration
    public DropViewTask()

DropViewTask(String)

Declaration
    public DropViewTask(string viewName)
Parameters
TypeNameDescription
System.StringviewName

Methods

Drop(IConnectionManager, String)

Drops a view

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

The connection manager of the database you want to connect

System.StringviewName

Name of the view to drop

Drop(String)

Drops a view.

Declaration
    public static void Drop(string viewName)
Parameters
TypeNameDescription
System.StringviewName

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
TypeNameDescription
IConnectionManagerconnectionManager

The connection manager of the database you want to connect

System.StringviewName

Name of the view to drop

DropIfExists(String)

Drops a view if the view exists.

Declaration
    public static void DropIfExists(string viewName)
Parameters
TypeNameDescription
System.StringviewName

Name of the view to drop

Implements