Delen via


AggregationDesign.DesignAggregations Method (TimeSpan, Int32, Double, Int64, 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 Function DesignAggregations ( _
    time As TimeSpan, _
    steps As Integer, _
    optimization As Double, _
    storage As Long, _
    queries As StringCollection _
) As DesignAggregationsResult
'Usage
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

Parameters

  • steps
    Type: System.Int32
    The maximum number of steps used to design aggregations.
  • optimization
    Type: System.Double
    The optimization threshold percentage used to design aggregations.
  • storage
    Type: System.Int64
    The maximum amount of storage (in bytes) used to design aggregations.

Return Value

Type: Microsoft.AnalysisServices.DesignAggregationsResult
An object that defines the results of the aggregation design process.

See Also

Reference

AggregationDesign Class

DesignAggregations Overload

Microsoft.AnalysisServices Namespace