共用方式為


VCWizCtlClass.GetConnectionString(Boolean) Method

Definition

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

public:
 virtual System::String ^ GetConnectionString(bool bUseOLEDB) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::GetConnectionString;
public:
 virtual Platform::String ^ GetConnectionString(bool bUseOLEDB) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::GetConnectionString;
 virtual std::wstring GetConnectionString(bool bUseOLEDB);
[System.Runtime.InteropServices.DispId(1610743813)]
public virtual string GetConnectionString (bool bUseOLEDB);
[<System.Runtime.InteropServices.DispId(1610743813)>]
abstract member GetConnectionString : bool -> string
override this.GetConnectionString : bool -> string
Public Overridable Function GetConnectionString (bUseOLEDB As Boolean) As String

Parameters

bUseOLEDB
Boolean

Required. true if the project uses OLEDB; otherwise false.

Returns

The connection string.

Implements

Attributes

Applies to