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.
Inheritance
object
GetListTask
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.Tasks
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
Type | Description |
---|---|
System.Collections.Generic.List<T><ObjectNameDescriptor> |
Sql
Declaration
public string Sql { get; }
Property Value
Type | Description |
---|---|
string |
Examples
GetDatabaseListTask.List();
TaskName
Declaration
public override string TaskName { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Examples
GetDatabaseListTask.List();
Methods
RetrieveAll()
Declaration
public GetListTask RetrieveAll()
Returns
Type | Description |
---|---|
GetListTask |
Examples
GetDatabaseListTask.List();