Compartir a través de


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.String

    A 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

See Also

Reference

DataProvider Class

Microsoft.VisualStudio.Data Namespace