Compartir a través de


AggregationDesignAttributeCollection.Add Método

Definición

Sobrecargas

Add(AggregationDesignAttribute)

Agrega el objeto AggregationDesignAttribute especificado al final de la colección.

Add(String)

Crea un objeto AggregationDesignAttribute con el valor AttributeID especificado, lo agrega al final de la colección y devuelve el nuevo AggregationDesignAttribute creado.

Add(AggregationDesignAttribute)

Agrega el objeto AggregationDesignAttribute especificado al final de la colección.

public int Add (Microsoft.AnalysisServices.AggregationDesignAttribute item);
override this.Add : Microsoft.AnalysisServices.AggregationDesignAttribute -> int
Public Function Add (item As AggregationDesignAttribute) As Integer

Parámetros

Devoluciones

Índice de base cero en el que se ha agregado AggregationDesignAttribute a la colección.

Excepciones

  • El elemento especificado es una referencia null (Nothing en Visual Basic).
  • El elemento especificado ya existe en la colección.
  • El AttributeID del especificado AggregationDesignAttribute no es válido en la colección.
  • El nombre del especificado AggregationDesignAttribute no es válido en la colección.
  • El nivel de compatibilidad del especificado AggregationDesignAttribute no es válido en la colección.

Se aplica a

Add(String)

Crea un objeto AggregationDesignAttribute con el valor AttributeID especificado, lo agrega al final de la colección y devuelve el nuevo AggregationDesignAttribute creado.

public Microsoft.AnalysisServices.AggregationDesignAttribute Add (string attributeId);
override this.Add : string -> Microsoft.AnalysisServices.AggregationDesignAttribute
Public Function Add (attributeId As String) As AggregationDesignAttribute

Parámetros

attributeId
String

AttributeID del nuevo objeto AggregationDesignAttribute.

Devoluciones

Objeto AggregationDesignAttribute recién creado.

Excepciones

El elemento AttributeID especificado no es válido en la colección.

Se aplica a