Share via


DimensionAttributeCollection.FindByName(String) Method

Definition

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

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

Parameters

name
String

The name of the DimensionAttribute to locate.

Returns

The DimensionAttribute with the specified name, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to