DataProvider.DeriveDataSource Method
Determines which data source supported by this DDEX provider is represented by the given connection string.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Function DeriveDataSource ( _
connectionString As String _
) As Guid
public abstract Guid DeriveDataSource(
string connectionString
)
public:
virtual Guid DeriveDataSource(
String^ connectionString
) abstract
abstract DeriveDataSource :
connectionString:string -> Guid
public abstract function DeriveDataSource(
connectionString : String
) : Guid
Parameters
connectionString
Type: System.StringA connection string recognized by this DDEX provider.
Return Value
Type: System.Guid
Returns the DDEX data source GUID that this connection string represents, or returns Guid.Empty if no data source can be derived.
.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.