Muokkaa

Jaa


DataSourceProviderService.InvokeConfigureDataSource Method

Definition

When overridden in a derived class, invokes the Configure Data Source dialog box on the specified data source.

public:
 abstract bool InvokeConfigureDataSource(System::Windows::Forms::IWin32Window ^ parentWindow, System::Windows::Forms::FormStartPosition startPosition, System::ComponentModel::Design::Data::DataSourceDescriptor ^ dataSourceDescriptor);
public abstract bool InvokeConfigureDataSource (System.Windows.Forms.IWin32Window parentWindow, System.Windows.Forms.FormStartPosition startPosition, System.ComponentModel.Design.Data.DataSourceDescriptor dataSourceDescriptor);
abstract member InvokeConfigureDataSource : System.Windows.Forms.IWin32Window * System.Windows.Forms.FormStartPosition * System.ComponentModel.Design.Data.DataSourceDescriptor -> bool
Public MustOverride Function InvokeConfigureDataSource (parentWindow As IWin32Window, startPosition As FormStartPosition, dataSourceDescriptor As DataSourceDescriptor) As Boolean

Parameters

parentWindow
IWin32Window

The parent window.

startPosition
FormStartPosition

The initial position of a form.

dataSourceDescriptor
DataSourceDescriptor

The data source.

Returns

true if any changes were made to that data source; otherwise, false.

Exceptions

The specified data source is invalid or null.

Applies to