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
声明
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.