DataSource.RunQuery Method
Queries the data source.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
'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
)
kpiMeasures
Type: Microsoft.PerformancePoint.Scorecards.KpiMeasureCollectionThe list of KPI measures to query.
pageFilters
Type: Microsoft.PerformancePoint.Scorecards.MemberCollectionThe fixed slices for this query.
tiCurrentDateTime
Type: System.StringThe current date and time used for the Time Intelligence formula.
tiFormula
Type: System.StringThe Time Intelligence formula.
memberSlices
Type: Microsoft.PerformancePoint.Scorecards.TupleCollectionThe dimension slices to query each measure on.
localCache
Type: Microsoft.PerformancePoint.Scorecards.IGlobalCacheThe local cache.
Type: Microsoft.PerformancePoint.Scorecards.QueryResult
The results of the query.