CustomDataSourceProvider.RunQuery Method
Performs a query on the data source.
Namespace: Microsoft.PerformancePoint.Scorecards.Extensions
Assembly: Microsoft.PerformancePoint.Scorecards.Server (in Microsoft.PerformancePoint.Scorecards.Server.dll)
Syntax
'Declaration
Public MustOverride 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 CustomDataSourceProvider
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 abstract 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 on.
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.
Implements
See Also
Reference
CustomDataSourceProvider Class