Sdílet prostřednictvím


DataSourceViewCollection.FindByName Method

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

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

Syntax

'Declaration
Public Function FindByName ( _
    name As String _
) As DataSourceView
'Usage
Dim instance As DataSourceViewCollection
Dim name As String
Dim returnValue As DataSourceView

returnValue = instance.FindByName(name)
public DataSourceView FindByName(
    string name
)
public:
DataSourceView^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> DataSourceView 
public function FindByName(
    name : String
) : DataSourceView

Parameters

Return Value

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