Compartir a través de


CubeCollection.Item Propiedad (String)

Gets the Cube, with the specified identifier, from the collection.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    id As String _
) As Cube 
    Get
'Uso
Dim instance As CubeCollection 
Dim id As String 
Dim value As Cube 

value = instance(id)
public Cube this[
    string id
] { get; }
public:
property Cube^ default[String^ id] {
    Cube^ get (String^ id);
}
member Item : Cube
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

Tipo: Microsoft.AnalysisServices.Cube
The Cube specified by the identifier.

Excepciones

Excepción Condición
ArgumentNullException

id is a null reference (Nothing in Visual Basic).

ItemNotFoundException

id does not exist in the collection.

Vea también

Referencia

CubeCollection Clase

Sobrecarga de Item

Espacio de nombres Microsoft.AnalysisServices