GetListTask

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
Namespace: ETLBox.ControlFlow
Assembly: ETLBox.dll
Syntax
    public class GetListTask : ControlFlowTask, ILoggableTask
Examples
GetDatabaseListTask.List();

Constructors

GetListTask()

Declaration
    public GetListTask()

Properties

ObjectNames

A list containing all databases after executing.

Declaration
    public List<ObjectNameDescriptor> ObjectNames { get; set; }
Property Value
TypeDescription
List<ObjectNameDescriptor>

Sql

Declaration
    public string Sql { get; }
Property Value
TypeDescription
string

Methods

RetrieveAll()

Declaration
    public GetListTask RetrieveAll()
Returns
TypeDescription
GetListTask

Implements