次の方法で共有


IVsDataConnectionDialog.SelectedProvider Property

Gets or sets the data provider currently selected in the connection dialog box, using the data provider's GUID.

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

Syntax

'宣言
Property SelectedProvider As Guid
    Get
    Set
Guid SelectedProvider { get; set; }
property Guid SelectedProvider {
    Guid get ();
    void set (Guid value);
}
abstract SelectedProvider : Guid with get, set
function get SelectedProvider () : Guid
function set SelectedProvider (value : Guid)

Property Value

Type: System.Guid
The Guid of the data provider currently selected in the dialog box.

Exceptions

Exception Condition
InvalidOperationException

The value of SelectedSource for the selected provider is an empty GUID, and the specified GUID is not empty.

ArgumentException

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

.NET Framework Security

See Also

Reference

IVsDataConnectionDialog Interface

Microsoft.VisualStudio.Data.Services Namespace