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.