DataSourceViewCollection.GetByName Method

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

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

Syntax

C#
public DataSourceView GetByName(
    string name
)

Parameters

Return Value

Type: Microsoft.AnalysisServices.DataSourceView
The DataSourceView if contained in the collection.

Exceptions

Exception Condition
ItemNotFoundException

name is not contained by the collection.

See Also

Reference

DataSourceViewCollection Class

Microsoft.AnalysisServices Namespace