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
source
Type: System.GuidA DDEX data source GUID.
Return Value
Type: Microsoft.VisualStudio.Data.DataSource
Returns a DataSource object instance with the specified GUID.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.