Partilhar via


VCWizCtlClass.GetConnectionString Method

Gets the information the database application requires to connect to a data source.

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

Syntax

'Declaração
Public Overridable Function GetConnectionString ( _
    bUseOLEDB As Boolean _
) As String
public virtual string GetConnectionString(
    bool bUseOLEDB
)
public:
virtual String^ GetConnectionString(
    [InAttribute] bool bUseOLEDB
)
abstract GetConnectionString : 
        bUseOLEDB:bool -> string 
override GetConnectionString : 
        bUseOLEDB:bool -> string 
public function GetConnectionString(
    bUseOLEDB : boolean
) : String

Parameters

  • bUseOLEDB
    Type: System.Boolean
    Required. true if the project uses OLEDB; otherwise false.

Return Value

Type: System.String
The connection string.

Implements

IVCWizCtlUI.GetConnectionString(Boolean)

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model