Class DropViewTask
Drops a view. Use DropIfExists to drop a view only if it exists.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
Type | Name | Description |
---|---|---|
System.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 |
System.String | viewName | Name of the view to drop |
Drop(String)
Drops a view.
Declaration
public static void Drop(string viewName)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
System.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 |
---|---|---|
System.String | viewName | Name of the view to drop |