Udostępnij za pośrednictwem


IVCWizCtlUI.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

'Declaration
Function GetConnectionString ( _
    bUseOLEDB As Boolean _
) As String
string GetConnectionString(
    bool bUseOLEDB
)
String^ GetConnectionString(
    [InAttribute] bool bUseOLEDB
)
abstract GetConnectionString : 
        bUseOLEDB:bool -> string 
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.

.NET Framework Security

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace