Class DropViewTask

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

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

stringviewName

Name of the view to drop

Drop(string)

Drops a view.

Declaration
    public static void Drop(string viewName)
Parameters
TypeNameDescription
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

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
stringviewName

Name of the view to drop

Implements