Partager via


FindByName méthode

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function FindByName ( _
    name As String _
) As DataSourceView
'Utilisation
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

Paramètres

Valeur de retour

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