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

'宣言
Property SelectedSource As Guid
'使用
Dim instance As IVsDataConnectionDialog
Dim value As Guid

value = instance.SelectedSource

instance.SelectedSource = value
Guid SelectedSource { get; set; }
property Guid SelectedSource {
    Guid get ();
    void set (Guid value);
}
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.

Permissions

See Also

Reference

IVsDataConnectionDialog Interface

IVsDataConnectionDialog Members

Microsoft.VisualStudio.Data.Services Namespace