Share via


DataSourceCollection.Find Method

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

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

Syntax

'Declaration
Public Function Find ( _
    id As String _
) As DataSource
'Usage
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

Parameters

Return Value

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

See Also

Reference

DataSourceCollection Class

Microsoft.AnalysisServices Namespace