Share via


DataConnectionPromptDialog Class

Represents a dialog box that can prompt the user for information when a data connection is being opened.

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

Syntax

'Declaration
Public Class DataConnectionPromptDialog _
    Inherits Form _
    Implements IVsDataConnectionPromptDialog, IDisposable, IVsDataSiteableObject(Of IServiceProvider)
'Usage
Dim instance As DataConnectionPromptDialog
public class DataConnectionPromptDialog : Form, 
    IVsDataConnectionPromptDialog, IDisposable, IVsDataSiteableObject<IServiceProvider>
public ref class DataConnectionPromptDialog : public Form, 
    IVsDataConnectionPromptDialog, IDisposable, IVsDataSiteableObject<IServiceProvider^>
public class DataConnectionPromptDialog extends Form implements IVsDataConnectionPromptDialog, IDisposable, IVsDataSiteableObject<IServiceProvider>

Remarks

An instance of this dialog box is managed by the DataConnectionSupport class instance that is being opened. It is the job of the DDEX provider to update the ConnectionString property appropriately in order to set the new connection string when the dialog box is closed.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            System.Windows.Forms.Form
              Microsoft.VisualStudio.Data.Framework.DataConnectionPromptDialog

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DataConnectionPromptDialog Members

Microsoft.VisualStudio.Data.Framework Namespace

DataConnection