Метод AggregationDesign.DesignAggregations (TimeSpan, Int32, Double, Int64, StringCollection)
Creates aggregations for an aggregation design on the Analysis Services instance.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function DesignAggregations ( _
time As TimeSpan, _
steps As Integer, _
optimization As Double, _
storage As Long, _
queries As StringCollection _
) As DesignAggregationsResult
'Применение
Dim instance As AggregationDesign
Dim time As TimeSpan
Dim steps As Integer
Dim optimization As Double
Dim storage As Long
Dim queries As StringCollection
Dim returnValue As DesignAggregationsResult
returnValue = instance.DesignAggregations(time, _
steps, optimization, storage, queries)
public DesignAggregationsResult DesignAggregations(
TimeSpan time,
int steps,
double optimization,
long storage,
StringCollection queries
)
public:
DesignAggregationsResult^ DesignAggregations(
TimeSpan time,
int steps,
double optimization,
long long storage,
StringCollection^ queries
)
member DesignAggregations :
time:TimeSpan *
steps:int *
optimization:float *
storage:int64 *
queries:StringCollection -> DesignAggregationsResult
public function DesignAggregations(
time : TimeSpan,
steps : int,
optimization : double,
storage : long,
queries : StringCollection
) : DesignAggregationsResult
Параметры
- time
Тип: System.TimeSpan
The time limit used to design aggregations.
- steps
Тип: System.Int32
The maximum number of steps used to design aggregations.
- optimization
Тип: System.Double
The optimization threshold percentage used to design aggregations.
- storage
Тип: System.Int64
The maximum amount of storage (in bytes) used to design aggregations.
- queries
Тип: System.Collections.Specialized.StringCollection
A collection of Query elements used for usage-based optimization.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.DesignAggregationsResult
An object that defines the results of the aggregation design process.