Share via


DataSource.RunQuery method

Queries the data source.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Function RunQuery ( _
    kpiMeasures As KpiMeasureCollection, _
    pageFilters As MemberCollection, _
    tiCurrentDateTime As String, _
    tiFormula As String, _
    memberSlices As TupleCollection, _
    localCache As IGlobalCache _
) As QueryResult
'Usage
Dim instance As DataSource
Dim kpiMeasures As KpiMeasureCollection
Dim pageFilters As MemberCollection
Dim tiCurrentDateTime As String
Dim tiFormula As String
Dim memberSlices As TupleCollection
Dim localCache As IGlobalCache
Dim returnValue As QueryResult

returnValue = instance.RunQuery(kpiMeasures, _
    pageFilters, tiCurrentDateTime, _
    tiFormula, memberSlices, localCache)
public QueryResult RunQuery(
    KpiMeasureCollection kpiMeasures,
    MemberCollection pageFilters,
    string tiCurrentDateTime,
    string tiFormula,
    TupleCollection memberSlices,
    IGlobalCache localCache
)

Parameters

  • tiCurrentDateTime
    Type: System.String

    The current date and time used for the Time Intelligence formula.

Return value

Type: Microsoft.PerformancePoint.Scorecards.QueryResult
The results of the query.

See also

Reference

DataSource class

DataSource members

Microsoft.PerformancePoint.Scorecards namespace