Compartir a través de


DataConnectionDialogFactory.CreateConnectionDialog Method

Creates a new instance of the DataConnectionDialogFactory class.

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

Syntax

'Declaration
Public MustOverride Function CreateConnectionDialog As DataConnectionDialog
public abstract DataConnectionDialog CreateConnectionDialog()
public:
virtual DataConnectionDialog^ CreateConnectionDialog() abstract
abstract CreateConnectionDialog : unit -> DataConnectionDialog
public abstract function CreateConnectionDialog() : DataConnectionDialog

Return Value

Type: Microsoft.VisualStudio.Data.DataConnectionDialog
Returns a new instance of the DataConnectionDialogFactory class.

Remarks

When a client has finished with an instance of the dialog, they should call the Dispose method.

.NET Framework Security

See Also

Reference

DataConnectionDialogFactory Class

Microsoft.VisualStudio.Data Namespace