XmlaTask

Class XmlaTask

This task can execute any XMLA.

Implements
Inherited Members
Namespace: ETLBox.AnalysisServices
Assembly: ETLBox.AnalysisServices.dll
Syntax
    public class XmlaTask : DbTask, ILoggableTask
Examples
XmlaTask.ExecuteNonQuery("Xmla goes here...")

Constructors

XmlaTask()

Declaration
    public XmlaTask()

XmlaTask(string)

Declaration
    public XmlaTask(string xmla)
Parameters
TypeNameDescription
stringxmla

XmlaTask(string, Action, Action, params Action<object>[])

Declaration
    public XmlaTask(string xmla, Action beforeRowReadAction, Action afterRowReadAction, params Action<object>[] actions)
Parameters
TypeNameDescription
stringxmla
ActionbeforeRowReadAction
ActionafterRowReadAction
Action<object>[]actions

XmlaTask(string, params Action<object>[])

Declaration
    public XmlaTask(string xmla, params Action<object>[] actions)
Parameters
TypeNameDescription
stringxmla
Action<object>[]actions

XmlaTask(string, string)

Declaration
    public XmlaTask(string name, string xmla)
Parameters
TypeNameDescription
stringname
stringxmla

Methods

ExecuteNonQuery(IConnectionManager, string)

Declaration
    public static int ExecuteNonQuery(IConnectionManager connectionManager, string xmla)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringxmla
Returns
TypeDescription
int

ExecuteNonQuery(string)

Declaration
    public static int ExecuteNonQuery(string xmla)
Parameters
TypeNameDescription
stringxmla
Returns
TypeDescription
int

ExecuteReader(IConnectionManager, string, Action, Action, params Action<object>[])

Declaration
    public static void ExecuteReader(IConnectionManager connectionManager, string xmla, Action beforeRowReadAction, Action afterRowReadAction, params Action<object>[] actions)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringxmla
ActionbeforeRowReadAction
ActionafterRowReadAction
Action<object>[]actions

ExecuteReader(IConnectionManager, string, params Action<object>[])

Declaration
    public static void ExecuteReader(IConnectionManager connectionManager, string xmla, params Action<object>[] actions)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringxmla
Action<object>[]actions

ExecuteReader(string, Action, Action, params Action<object>[])

Declaration
    public static void ExecuteReader(string xmla, Action beforeRowReadAction, Action afterRowReadAction, params Action<object>[] actions)
Parameters
TypeNameDescription
stringxmla
ActionbeforeRowReadAction
ActionafterRowReadAction
Action<object>[]actions

ExecuteReader(string, params Action<object>[])

Declaration
    public static void ExecuteReader(string xmla, params Action<object>[] actions)
Parameters
TypeNameDescription
stringxmla
Action<object>[]actions

ExecuteScalar(IConnectionManager, string)

Declaration
    public static object ExecuteScalar(IConnectionManager connectionManager, string xmla)
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringxmla
Returns
TypeDescription
object

ExecuteScalar(string)

Declaration
    public static object ExecuteScalar(string xmla)
Parameters
TypeNameDescription
stringxmla
Returns
TypeDescription
object

ExecuteScalar<T>(IConnectionManager, string)

Declaration
    public static T? ExecuteScalar<T>(IConnectionManager connectionManager, string xmla) where T : struct
Parameters
TypeNameDescription
IConnectionManagerconnectionManager
stringxmla
Returns
TypeDescription
T?
Type Parameters
NameDescription
T

ExecuteScalar<T>(string)

Declaration
    public static T? ExecuteScalar<T>(string xmla) where T : struct
Parameters
TypeNameDescription
stringxmla
Returns
TypeDescription
T?
Type Parameters
NameDescription
T

Implements