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
Get
Set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.