Class GetLogAsJSONTask

Returns the content of the etl.Log table as a JSON string.

Inheritance
System.Object
GetLogAsJSONTask
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.Logging
Assembly: ETLBox.dll
Syntax
    public sealed class GetLogAsJSONTask : ControlFlowTask, ILoggableTask

Constructors

GetLogAsJSONTask()

Declaration
    public GetLogAsJSONTask()

GetLogAsJSONTask(Nullable<Int64>)

Declaration
    public GetLogAsJSONTask(long? loadProcessKey)
Parameters
TypeNameDescription
System.Nullable<System.Int64>loadProcessKey

Fields

_loadProcessKey

Declaration
    public long? _loadProcessKey
Field Value
TypeDescription
System.Nullable<System.Int64>

Properties

ContainerTypes

Declaration
    public List<string> ContainerTypes { get; }
Property Value
TypeDescription
System.Collections.Generic.List<System.String>

JSON

Declaration
    public string JSON { get; }
Property Value
TypeDescription
System.String

LoadProcessKey

Declaration
    public long? LoadProcessKey { get; set; }
Property Value
TypeDescription
System.Nullable<System.Int64>

LogEntryHierarchy

Declaration
    public List<LogHierarchyEntry> LogEntryHierarchy { get; set; }
Property Value
TypeDescription
System.Collections.Generic.List<LogHierarchyEntry>

TaskName

Declaration
    public override string TaskName { get; set; }
Property Value
TypeDescription
System.String
Overrides

Methods

Create()

Declaration
    public GetLogAsJSONTask Create()
Returns
TypeDescription
GetLogAsJSONTask

Execute()

Declaration
    public void Execute()

GetJSON()

Declaration
    public static string GetJSON()
Returns
TypeDescription
System.String

GetJSON(IConnectionManager)

Declaration
    public static string GetJSON(IConnectionManager connectionManager)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
Returns
TypeDescription
System.String

GetJSON(IConnectionManager, Nullable<Int32>)

Declaration
    public static string GetJSON(IConnectionManager connectionManager, int? loadProcessKey)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
System.Nullable<System.Int32>loadProcessKey
Returns
TypeDescription
System.String

GetJSON(Nullable<Int64>)

Declaration
    public static string GetJSON(long? loadProcessKey)
Parameters
TypeNameDescription
System.Nullable<System.Int64>loadProcessKey
Returns
TypeDescription
System.String

Implements