IDataSourceProvider.RunQuery Method
Performs a query on the data source.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
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 IDataSourceProvider
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)
QueryResult RunQuery(
KpiMeasureCollection kpiMeasures,
MemberCollection pageFilters,
string tiCurrentDateTime,
string tiFormula,
TupleCollection memberSlices,
IGlobalCache localCache
)
Parameters
kpiMeasures
Type: Microsoft.PerformancePoint.Scorecards.KpiMeasureCollectionThe list of key performance indicator (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.
Return Value
Type: Microsoft.PerformancePoint.Scorecards.QueryResult
The results of the query.