AggregationDesignDimensionCollection.Insert Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Insert(Int32, AggregationDesignDimension) |
Insère l’objet AggregationDesignDimension spécifié dans la collection, à l’index spécifié. |
Insert(Int32, String) |
Crée un objet AggregationDesignDimension en utilisant le CubeDimensionID spécifié, l’insère dans la collectionà l’index spécifié et retourne le nouvel objet AggregationDesignDimension créé. |
Insert(Int32, AggregationDesignDimension)
Insère l’objet AggregationDesignDimension spécifié dans la collection, à l’index spécifié.
public void Insert (int index, Microsoft.AnalysisServices.AggregationDesignDimension item);
override this.Insert : int * Microsoft.AnalysisServices.AggregationDesignDimension -> unit
Public Sub Insert (index As Integer, item As AggregationDesignDimension)
Paramètres
- index
- Int32
Index de base zéro auquel le AggregationDesignDimension est inséré.
Objet AggregationDesignDimension à insérer.
Exceptions
L’index spécifié n’est pas une valeur valide (inférieure à zéro ou supérieure au nombre total d’éléments).
- L’élément spécifié est une référence Null (Nothing en Visual Basic).
- L’élément spécifié existe déjà dans la collection.
- Le CubeDimensionID du spécifié AggregationDesignDimension n’est pas valide dans la collection.
- Le niveau de compatibilité du spécifié AggregationDesignDimension n’est pas valide dans la collection.
S’applique à
Insert(Int32, String)
Crée un objet AggregationDesignDimension en utilisant le CubeDimensionID spécifié, l’insère dans la collectionà l’index spécifié et retourne le nouvel objet AggregationDesignDimension créé.
public Microsoft.AnalysisServices.AggregationDesignDimension Insert (int index, string cubeDimensionId);
override this.Insert : int * string -> Microsoft.AnalysisServices.AggregationDesignDimension
Public Function Insert (index As Integer, cubeDimensionId As String) As AggregationDesignDimension
Paramètres
- index
- Int32
Index de base zéro auquel le AggregationDesignDimension est inséré.
- cubeDimensionId
- String
CubeDimensionID du nouvel objet AggregationDesignDimension.
Retours
Objet AggregationDesignDimension nouvellement créé.
Exceptions
L’index spécifié n’est pas une valeur valide (inférieure à zéro ou supérieure au nombre total d’éléments).
Le CubeDimensionID spécifié n’est pas valide dans la collection.