Compartir a través de


DataSourceManager.GetDataSource Method

Retrieves a data source with the specified GUID.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Function GetDataSource ( _
    source As Guid _
) As DataSource
public DataSource GetDataSource(
    Guid source
)
public:
DataSource^ GetDataSource(
    Guid source
)
member GetDataSource : 
        source:Guid -> DataSource
public function GetDataSource(
    source : Guid
) : DataSource

Parameters

Return Value

Type: Microsoft.VisualStudio.Data.DataSource
Returns a DataSource object instance with the specified GUID.

.NET Framework Security

See Also

Reference

DataSourceManager Class

Microsoft.VisualStudio.Data Namespace