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.