Partager via


Find méthode

Gets the DataSource, with the specified identifier, from the collection.

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

Syntaxe

'Déclaration
Public Function Find ( _
    id As String _
) As DataSource
'Utilisation
Dim instance As DataSourceCollection
Dim id As String
Dim returnValue As DataSource

returnValue = instance.Find(id)
public DataSource Find(
    string id
)
public:
DataSource^ Find(
    String^ id
)
member Find : 
        id:string -> DataSource 
public function Find(
    id : String
) : DataSource

Paramètres

Valeur de retour

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