DataSourceSpecializer.DeriveDataSource Method
Determines which data source supported by the provider is represented by the given connection string.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overridable Function DeriveDataSource ( _
connectionString As String _
) As Guid
public virtual Guid DeriveDataSource(
string connectionString
)
public:
virtual Guid DeriveDataSource(
String^ connectionString
)
abstract DeriveDataSource :
connectionString:string -> Guid
override DeriveDataSource :
connectionString:string -> Guid
public function DeriveDataSource(
connectionString : String
) : Guid
Parameters
connectionString
Type: System.StringConnection string understood by the DDEX provider.
Return Value
Type: System.Guid
Returns a GUID object instance specifying the derived data source for the connection string provided.
.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.