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
'Declaration
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
- 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.
See Also
Reference
Microsoft.VisualStudio.VsWizard Namespace