共用方式為


DataConnectionDialog.SelectedSource Property

Definition

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

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

Property Value

Returns a GUID object instance reflecting the current data source.

Exceptions

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

Applies to