DimensionAttributeCollection.FindByName Method

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

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

Syntax

public DimensionAttribute FindByName(
    string name
)

Parameters

Return Value

Type: Microsoft.AnalysisServices.DimensionAttribute
The DimensionAttribute if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).