Class DropProcedureTask

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

Implements
Namespace: ETLBox.ControlFlow
Assembly: ETLBox.dll
Syntax
    public sealed class DropProcedureTask : DropTask<IfProcedureExistsTask>, ILoggableTask

Constructors

DropProcedureTask()

Declaration
    public DropProcedureTask()

DropProcedureTask(string)

Declaration
    public DropProcedureTask(string procedureName)
Parameters
TypeNameDescription
stringprocedureName

Methods

Drop(IConnectionManager, string)

Drops a procedure.

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

The connection manager of the database you want to connect

stringprocedureName

Name of the procedure to drop

Drop(string)

Drops a procedure.

Declaration
    public static void Drop(string procedureName)
Parameters
TypeNameDescription
stringprocedureName

Name of the procedure to drop

DropIfExists(IConnectionManager, string)

Drops a procedure if the procedure exists.

Declaration
    public static void DropIfExists(IConnectionManager connectionManager, string procedureName)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager

The connection manager of the database you want to connect

stringprocedureName

Name of the procedure to drop

DropIfExists(string)

Drops a procedure if the procedure exists.

Declaration
    public static void DropIfExists(string procedureName)
Parameters
TypeNameDescription
stringprocedureName

Name of the procedure to drop

Implements