DataSourceViewCollection.FindByName Method (String)

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

public DataSourceView FindByName(
    string name
)
public:
DataSourceView^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> DataSourceView
Public Function FindByName (
    name As String
) As DataSourceView

Parameters

Return Value

Type: Microsoft.AnalysisServices.DataSourceView

The DataSourceView if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

DataSourceViewCollection Class
Microsoft.AnalysisServices Namespace

Return to top