Condividi tramite


CubeDimensionCollection.GetByName Method

Gets the CubeDimension, with the specified name, from the collection.

Spazio dei nomi: Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintassi

'Dichiarazione
Public Function GetByName ( _
    name As String _
) As CubeDimension
public CubeDimension GetByName (
    string name
)
public:
CubeDimension^ GetByName (
    String^ name
)
public CubeDimension GetByName (
    String name
)
public function GetByName (
    name : String
) : CubeDimension

Parametri

Valore restituito

The CubeDimension with the name specified in name.

Eccezioni

Tipo di eccezione Condizione
ItemNotFoundException

name is not contained by the collection.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

CubeDimensionCollection Class
CubeDimensionCollection Members
Microsoft.AnalysisServices Namespace