Condividi tramite


DataSourceViewCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the DataSourceView to locate.

Returns

The DataSourceView with the specified Name.

Exceptions

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

Applies to