Class GetListTask

Returns a list of all user databases on the server. Make sure to connect with the correct permissions! In MySql, this will return a list of all schemas.

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 class GetListTask : ControlFlowTask, ILoggableTask
Examples
GetDatabaseListTask.List();

Constructors

GetListTask()

Declaration
    public GetListTask()
Examples
GetDatabaseListTask.List();

Properties

ObjectNames

A list containing all databases after executing.

Declaration
    public List<ObjectNameDescriptor> ObjectNames { get; set; }
Property Value
TypeDescription
System.Collections.Generic.List<T><ObjectNameDescriptor>

Sql

Declaration
    public string Sql { get; }
Property Value
TypeDescription
string
Examples
GetDatabaseListTask.List();

TaskName

Declaration
    public override string TaskName { get; set; }
Property Value
TypeDescription
string
Overrides
Examples
GetDatabaseListTask.List();

Methods

RetrieveAll()

Declaration
    public GetListTask RetrieveAll()
Returns
TypeDescription
GetListTask
Examples
GetDatabaseListTask.List();

Implements