AggregationDesign.DesignAggregations Method (Double%, Double%, Int64%, Boolean%, StringCollection)
Creates aggregations for an aggregation design on the Analysis Services instance.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub DesignAggregations ( _
<OutAttribute> ByRef optimization As Double, _
<OutAttribute> ByRef storage As Double, _
<OutAttribute> ByRef aggregationCount As Long, _
<OutAttribute> ByRef hasFinished As Boolean, _
queries As StringCollection _
)
'Usage
Dim instance As AggregationDesign
Dim optimization As Double
Dim storage As Double
Dim aggregationCount As Long
Dim hasFinished As Boolean
Dim queries As StringCollection
instance.DesignAggregations(optimization, _
storage, aggregationCount, hasFinished, _
queries)
public void DesignAggregations(
out double optimization,
out double storage,
out long aggregationCount,
out bool hasFinished,
StringCollection queries
)
public:
void DesignAggregations(
[OutAttribute] double% optimization,
[OutAttribute] double% storage,
[OutAttribute] long long% aggregationCount,
[OutAttribute] bool% hasFinished,
StringCollection^ queries
)
member DesignAggregations :
optimization:float byref *
storage:float byref *
aggregationCount:int64 byref *
hasFinished:bool byref *
queries:StringCollection -> unit
public function DesignAggregations(
optimization : double,
storage : double,
aggregationCount : long,
hasFinished : boolean,
queries : StringCollection
)
Parameters
- optimization
Type: System.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
Type: System.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
Type: System.Int64%
When this method returns, contains a Long value that specifies the total number of aggregations created. This parameter is passed uninitialized.
- hasFinished
Type: System.Boolean%
When this method returns, contains a Boolean value that tells if the aggregation design process has finished. This parameter is passed uninitialized.
- queries
Type: System.Collections.Specialized.StringCollection
A collection of Query elements used for usage-based optimization.