PerspectiveCollection.GetByName Method

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

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

Syntax

C#
public Perspective GetByName(
    string name
)

Parameters

Return Value

Type: Microsoft.AnalysisServices.Perspective
The Perspective if it exists in the collection.

Exceptions

Exception Condition
ItemNotFoundException

name does not exist in the collection.

See Also

Reference

PerspectiveCollection Class

Microsoft.AnalysisServices Namespace