Compartilhar via


IVsDataConnectionDialog.SelectedSource Property

Gets or sets a GUID value indicating the current selected data source.

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

Syntax

'Declaration
Property SelectedSource As Guid
Guid SelectedSource { get; set; }
property Guid SelectedSource {
    Guid get ();
    void set (Guid value);
}
abstract SelectedSource : Guid with get, set
function get SelectedSource () : Guid 
function set SelectedSource (value : Guid)

Property Value

Type: System.Guid
Returns a Guid object reflecting the current data source.

Exceptions

Exception Condition
ArgumentException

The GUID specified for the selected provider is not a registered DDEX provider.

Remarks

This value reflects which data source (if any) is selected in the Data source list in the Choose/Change Data Source dialog box.

.NET Framework Security

See Also

Reference

IVsDataConnectionDialog Interface

Microsoft.VisualStudio.Data.Services Namespace