Share via


DataSourceSpecializer.DeriveSource Method

Determines which data source supported by the provider is represented by the given connection string.

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

Syntax

'Declaration
Public Overridable Function DeriveSource ( _
    connectionString As String _
) As Guid
public virtual Guid DeriveSource(
    string connectionString
)
public:
virtual Guid DeriveSource(
    String^ connectionString
)
abstract DeriveSource : 
        connectionString:string -> Guid  
override DeriveSource : 
        connectionString:string -> Guid
public function DeriveSource(
    connectionString : String
) : Guid

Parameters

  • connectionString
    Type: System.String

    Connection 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, or Empty if no data source could be determined.

Implements

IVsDataSourceSpecializer.DeriveSource(String)

Remarks

Notes to Inheritors

The base implementation of this method returns Empty.

.NET Framework Security

See Also

Reference

DataSourceSpecializer Class

Microsoft.VisualStudio.Data.Framework Namespace