Dela via


DataConnectionDialog.SelectedSource Property

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

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

Syntax

'Declaration
Public MustOverride Property SelectedSource As Guid
'Usage
Dim instance As DataConnectionDialog 
Dim value As Guid 

value = instance.SelectedSource

instance.SelectedSource = value
public abstract Guid SelectedSource { get; set; }
public:
virtual property Guid SelectedSource {
    Guid get () abstract;
    void set (Guid value) abstract;
}
public abstract function get SelectedSource () : Guid 
public abstract function set SelectedSource (value : Guid)

Property Value

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

Exceptions

Exception Condition
ArgumentException

When setting the selected provider, the specified GUID is not a registered DDEX provider.

Remarks

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

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

DataConnectionDialog Members

Microsoft.VisualStudio.Data Namespace