Class DropProcedureTask
Drops a procedure. Use DropIfExists to drop a procedure only if it exists.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
Type | Name | Description |
---|---|---|
string | procedureName |
Methods
Drop(IConnectionManager, string)
Drops a procedure.
Declaration
public static void Drop(IConnectionManager connectionManager, string procedureName)
Parameters
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | procedureName | Name of the procedure to drop |
Drop(string)
Drops a procedure.
Declaration
public static void Drop(string procedureName)
Parameters
Type | Name | Description |
---|---|---|
string | procedureName | 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
Type | Name | Description |
---|---|---|
IConnectionManager | connectionManager | The connection manager of the database you want to connect |
string | procedureName | Name of the procedure to drop |
DropIfExists(string)
Drops a procedure if the procedure exists.
Declaration
public static void DropIfExists(string procedureName)
Parameters
Type | Name | Description |
---|---|---|
string | procedureName | Name of the procedure to drop |