Freigeben über


DimensionAttributeCollection.GetByName(String) Method

Definition

Gets the DimensionAttribute that has the specified name from the collection.

public Microsoft.AnalysisServices.DimensionAttribute GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.DimensionAttribute
Public Function GetByName (name As String) As DimensionAttribute

Parameters

name
String

The name of the DimensionAttribute to locate.

Returns

The DimensionAttribute with the specified Name.

Exceptions

The collection doesn't contain a DimensionAttribute with the specified name.

Applies to