Método AggregationDesign.DesignAggregations (TimeSpan, Int32, Double, Int64, StringCollection)
Creates aggregations for an aggregation design on the Analysis Services instance.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function DesignAggregations ( _
time As TimeSpan, _
steps As Integer, _
optimization As Double, _
storage As Long, _
queries As StringCollection _
) As DesignAggregationsResult
'Uso
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
Parâmetros
- time
Tipo: System.TimeSpan
The time limit used to design aggregations.
- steps
Tipo: System.Int32
The maximum number of steps used to design aggregations.
- optimization
Tipo: System.Double
The optimization threshold percentage used to design aggregations.
- storage
Tipo: System.Int64
The maximum amount of storage (in bytes) used to design aggregations.
- queries
Tipo: System.Collections.Specialized.StringCollection
A collection of Query elements used for usage-based optimization.
Valor de retorno
Tipo: Microsoft.AnalysisServices.DesignAggregationsResult
An object that defines the results of the aggregation design process.