DimensionAttributeCollection.GetByName-Methode

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

C#
public DimensionAttribute GetByName(
    string name
)

Parameter

Rückgabewert

Typ: Microsoft.AnalysisServices.DimensionAttribute
The DimensionAttribute if it is contained in the collection.

Ausnahmen

Ausnahme Bedingung
ItemNotFoundException

name is not contained by the collection.

Siehe auch

Verweis

DimensionAttributeCollection Klasse

Microsoft.AnalysisServices-Namespace