共用方式為


DataConnectionDialog.SelectedProvider Property

Definition

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

public:
 abstract property Guid SelectedProvider { Guid get(); void set(Guid value); };
public abstract Guid SelectedProvider { get; set; }
member this.SelectedProvider : Guid with get, set
Public MustOverride Property SelectedProvider As Guid

Property Value

Returns the GUID of the data provider currently selected in the dialog box.

Exceptions

When setting the selected provider, the value of SelectedSource is an empty GUID and the specified GUID is not empty.

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

Applies to