AggregationDesign.DesignAggregations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DesignAggregations(Double, Double, Int64, Boolean) |
Creates aggregations for an aggregation design on the Analysis Services instance. |
DesignAggregations(Double, Double, Int64, Boolean, StringCollection) |
Creates aggregations for an aggregation design on the Analysis Services instance. |
DesignAggregations(TimeSpan, Int32, Double, Int64, StringCollection) |
Creates aggregations for an aggregation design on the Analysis Services instance. |
DesignAggregations(Double, Double, Int64, Boolean)
Creates aggregations for an aggregation design on the Analysis Services instance.
public void DesignAggregations (out double optimization, out double storage, out long aggregationCount, out bool hasFinished);
member this.DesignAggregations : double * double * int64 * bool -> unit
Public Sub DesignAggregations (ByRef optimization As Double, ByRef storage As Double, ByRef aggregationCount As Long, ByRef hasFinished As Boolean)
Parameters
- optimization
- Double
When this method returns, contains a Double value that specifies the level of performance improvement reached in the aggregation design process. This parameter is passed uninitialized.
- storage
- Double
When this method returns, contains a Double value that specifies the maximum amount of storage (in bytes) required for aggregations. This parameter is passed uninitialized.
- aggregationCount
- Int64
When this method returns, contains a Long value that specifies the total number of aggregations created. This parameter is passed uninitialized.
- hasFinished
- Boolean
When this method returns, contains a Boolean value that tells if the aggregation design process has finished. This parameter is passed uninitialized.
Applies to
DesignAggregations(Double, Double, Int64, Boolean, StringCollection)
Creates aggregations for an aggregation design on the Analysis Services instance.
public void DesignAggregations (out double optimization, out double storage, out long aggregationCount, out bool hasFinished, System.Collections.Specialized.StringCollection queries);
member this.DesignAggregations : double * double * int64 * bool * System.Collections.Specialized.StringCollection -> unit
Public Sub DesignAggregations (ByRef optimization As Double, ByRef storage As Double, ByRef aggregationCount As Long, ByRef hasFinished As Boolean, queries As StringCollection)
Parameters
- optimization
- Double
When this method returns, contains a Double value that specifies the level of performance improvement reached in the aggregation design process. This parameter is passed uninitialized.
- storage
- Double
When this method returns, contains a Double value that specifies the maximum amount of storage (in bytes) required for aggregations. This parameter is passed uninitialized.
- aggregationCount
- Int64
When this method returns, contains a Long value that specifies the total number of aggregations created. This parameter is passed uninitialized.
- hasFinished
- Boolean
When this method returns, contains a Boolean value that tells if the aggregation design process has finished. This parameter is passed uninitialized.
- queries
- StringCollection
A collection of Query elements used for usage-based optimization.
Applies to
DesignAggregations(TimeSpan, Int32, Double, Int64, StringCollection)
Creates aggregations for an aggregation design on the Analysis Services instance.
public Microsoft.AnalysisServices.DesignAggregationsResult DesignAggregations (TimeSpan time, int steps, double optimization, long storage, System.Collections.Specialized.StringCollection queries);
member this.DesignAggregations : TimeSpan * int * double * int64 * System.Collections.Specialized.StringCollection -> Microsoft.AnalysisServices.DesignAggregationsResult
Public Function DesignAggregations (time As TimeSpan, steps As Integer, optimization As Double, storage As Long, queries As StringCollection) As DesignAggregationsResult
Parameters
- time
- TimeSpan
The time limit used to design aggregations.
- steps
- Int32
The maximum number of steps used to design aggregations.
- optimization
- Double
The optimization threshold percentage used to design aggregations.
- storage
- Int64
The maximum amount of storage (in bytes) used to design aggregations.
- queries
- StringCollection
A collection of Query elements used for usage-based optimization.
Returns
An object that defines the results of the aggregation design process.