Partager via


Méthode AggregationDesign.DesignAggregations (TimeSpan, Int32, Double, Int64, StringCollection)

Creates aggregations for an aggregation design on the Analysis Services instance.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function DesignAggregations ( _
    time As TimeSpan, _
    steps As Integer, _
    optimization As Double, _
    storage As Long, _
    queries As StringCollection _
) As DesignAggregationsResult
'Utilisation
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

Paramètres

  • 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.

Valeur de retour

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

Voir aussi

Référence

AggregationDesign Classe

Surcharge DesignAggregations

Espace de noms Microsoft.AnalysisServices