ConnectionStringManager overview
![]() DB_KEY | Database key name for (SQL Server connections) in connection string. |
![]() DSN_KEY | Data Source Name key name (for ODBC connections) in connection string. |
![]() NON_ODBC_PASSWORD_KEY | Password key name for non-ODBC connections in connection string. |
![]() NON_ODBC_USERNAME_KEY | Username key name for non-ODBC connections in connection string. |
![]() ODBC_PASSWORD_KEY | Password key name for ODBC connections in connection string. |
![]() ODBC_USERNAME_KEY | Username key name for ODBC connections in connection string. |
![]() SERVER_KEY | Server key name (for non-ODBC connections) in connection string. |
![]() WINDOWS_AUTHENTICATION_KEY | Windows Authentication key name in connection string. |
![]() IsWindowsAuthentication | Determines whether windows authentication is enabled. |
![]() PasswordKey | Returns the key name of the password attribute of the connection string for the current connection type (ODBC or non-ODBC). |
![]() UsernameKey | Returns the key name of the username attribute of the connection string for the current connection type (ODBC or non-ODBC). |
ConnectionStringManager Constructor
|
Initializes a new instance of the ConnectionStringManager class. |
AccessibilityObject (inherited from Control) | |
AccessibleDefaultActionDescription (inherited from Control) | |
AccessibleDescription (inherited from Control) | |
AccessibleName (inherited from Control) | |
AccessibleRole (inherited from Control) | |
ActiveControl (inherited from ContainerControl) | |
AllowDrop (inherited from Control) | |
Anchor (inherited from Control) | |
AutoScaleDimensions (inherited from ContainerControl) | |
AutoScaleMode (inherited from ContainerControl) | |
AutoScroll (inherited from ScrollableControl) | |
AutoScrollMargin (inherited from ScrollableControl) | |
AutoScrollMinSize (inherited from ScrollableControl) | |
AutoScrollOffset (inherited from Control) | |
AutoScrollPosition (inherited from ScrollableControl) | |
AutoSize (inherited from UserControl) | |
AutoSizeMode (inherited from UserControl) | |
AutoValidate (inherited from UserControl) | |
BackColor (inherited from Control) | |
BackgroundImage (inherited from Control) | |
BackgroundImageLayout (inherited from Control) | |
BindingContext (inherited from ContainerControl) | |
BorderStyle (inherited from UserControl) | |
Bottom (inherited from Control) | |
Bounds (inherited from Control) | |
CanFocus (inherited from Control) | |
CanSelect (inherited from Control) | |
Capture (inherited from Control) | |
CausesValidation (inherited from Control) | |
ClientRectangle (inherited from Control) | |
ClientSize (inherited from Control) | |
CompanyName (inherited from Control) | |
ConditionalConnectionString | Gets either a secure version of the connection string (i.e. without a password) or an insecure version (with the password) at the user's discretion. |
ConnectionString | Gets or sets the connection string to be manipulated. |
Container (inherited from Component) | |
ContainsFocus (inherited from Control) | |
ContextMenu (inherited from Control) | |
ContextMenuStrip (inherited from Control) | |
Controls (inherited from Control) | |
ControlTitle | Gets or sets the title of the control. |
Created (inherited from Control) | |
CurrentAutoScaleDimensions (inherited from ContainerControl) | |
Cursor (inherited from Control) | |
DataBindings (inherited from Control) | |
DbType | Gets or sets the type of the database. |
DisplayRectangle (inherited from ScrollableControl) | |
Disposing (inherited from Control) | |
Dock (inherited from Control) | |
DockPadding (inherited from ScrollableControl) | |
Enabled (inherited from Control) | |
ExposeAuthenticationType | Gets or sets the ConnectionStringManager.AccessLevel of the authentication type (database vs. Windows). |
ExposeDB | Gets or sets the ConnectionStringManager.AccessLevel of the database name input field. |
ExposeDbType | Gets or sets the ConnectionStringManager.AccessLevel of the database type input field. |
ExposeDsn | Gets or sets the ConnectionStringManager.AccessLevel of the DSN (data source name) field, used by ODBC connections. |
ExposePassword | Gets or sets the ConnectionStringManager.AccessLevel of the password input field. |
ExposeRememberPassword | Gets or sets the ConnectionStringManager.AccessLevel of the "remember password" checkbox. |
ExposeResultText | Gets or sets the ConnectionStringManager.AccessLevel of the result text box. |
ExposeServer | Gets or sets the ConnectionStringManager.AccessLevel of the server input field. |
ExposeTestButton | Gets or sets the ConnectionStringManager.AccessLevel of the test button/status indicator. |
ExposeUsername | Gets or sets the ConnectionStringManager.AccessLevel of the username input field. |
Focused (inherited from Control) | |
Font (inherited from Control) | |
ForeColor (inherited from Control) | |
Handle (inherited from Control) | |
HasChildren (inherited from Control) | |
Height (inherited from Control) | |
HorizontalScroll (inherited from ScrollableControl) | |
ImeMode (inherited from Control) | |
InvokeRequired (inherited from Control) | |
IsAccessible (inherited from Control) | |
IsDisposed (inherited from Control) | |
IsHandleCreated (inherited from Control) | |
IsMirrored (inherited from Control) | |
LayoutEngine (inherited from Control) | |
Left (inherited from Control) | |
Location (inherited from Control) | |
Margin (inherited from Control) | |
MaximumSize (inherited from Control) | |
MinimumSize (inherited from Control) | |
Name (inherited from Control) | |
Padding (inherited from Control) | |
Parent (inherited from Control) | |
ParentForm (inherited from ContainerControl) | |
PreferredSize (inherited from Control) | |
ProductName (inherited from Control) | |
ProductVersion (inherited from Control) | |
PwdFreeConnectionString | Gets a copy of the connection string with the password, if any, removed. |
RecreatingHandle (inherited from Control) | |
Region (inherited from Control) | |
RememberPassword | Gets or sets a value indicating whether the "remember password" checkbox is checked. |
Right (inherited from Control) | |
RightToLeft (inherited from Control) | |
SecureConnectionString | Gets a secure copy of the connection string with the password, if any, encrypted. |
ServerChoices | Gets or sets the server choice list presented to user. |
ShowDiagnosticConnectionString | Gets or sets a value indicating whether to show the connection string diagnostically on a tooltip of the control's title. |
Site (inherited from Control) | |
Size (inherited from Control) | |
TabIndex (inherited from Control) | |
TabStop (inherited from Control) | |
Tag (inherited from Control) | |
Text (inherited from UserControl) | |
Top (inherited from Control) | |
TopLevelControl (inherited from Control) | |
UseWaitCursor (inherited from Control) | |
VerticalScroll (inherited from ScrollableControl) | |
Visible (inherited from Control) | |
Width (inherited from Control) | |
WindowTarget (inherited from Control) |
Accept | Accepts the changes made, making them accessible through the ConnectionString property. |
BeginInvoke (inherited from Control) | Overloaded. |
BringToFront (inherited from Control) | |
Contains (inherited from Control) | |
CreateControl (inherited from Control) | |
CreateGraphics (inherited from Control) | |
CreateObjRef (inherited from MarshalByRefObject) | |
Dispose (inherited from Component) | Overloaded. |
DoDragDrop (inherited from Control) | |
DrawToBitmap (inherited from Control) | |
EndInvoke (inherited from Control) | |
Equals (inherited from Object) | |
FindForm (inherited from Control) | |
Focus (inherited from Control) | |
GetChildAtPoint (inherited from Control) | Overloaded. |
GetContainerControl (inherited from Control) | |
GetHashCode (inherited from Object) | |
GetLifetimeService (inherited from MarshalByRefObject) | |
GetNextControl (inherited from Control) | |
GetPreferredSize (inherited from Control) | |
GetType (inherited from Object) | |
Hide (inherited from Control) | |
InitializeLifetimeService (inherited from MarshalByRefObject) | |
Invalidate (inherited from Control) | Overloaded. |
Invoke (inherited from Control) | Overloaded. |
PerformAutoScale (inherited from ContainerControl) | |
PerformLayout (inherited from Control) | Overloaded. |
PointToClient (inherited from Control) | |
PointToScreen (inherited from Control) | |
PreProcessControlMessage (inherited from Control) | |
PreProcessMessage (inherited from Control) | |
RectangleToClient (inherited from Control) | |
RectangleToScreen (inherited from Control) | |
Refresh (inherited from Control) | |
ResetBackColor (inherited from Control) | |
ResetBindings (inherited from Control) | |
ResetCursor (inherited from Control) | |
ResetFont (inherited from Control) | |
ResetForeColor (inherited from Control) | |
ResetImeMode (inherited from Control) | |
ResetRightToLeft (inherited from Control) | |
ResetText (inherited from Control) | |
ResumeLayout (inherited from Control) | Overloaded. |
Scale (inherited from Control) | Overloaded. |
ScrollControlIntoView (inherited from ScrollableControl) | |
Select (inherited from Control) | Overloaded. |
SelectNextControl (inherited from Control) | |
SendToBack (inherited from Control) | |
SetAutoScrollMargin (inherited from ScrollableControl) | |
SetBounds (inherited from Control) | Overloaded. |
Show (inherited from Control) | |
SuspendLayout (inherited from Control) | |
ToString (inherited from Component) | |
Update (inherited from Control) | |
Validate (inherited from ContainerControl) | Overloaded. |
ValidateChildren (inherited from UserControl) | Overloaded. |
AutoSizeChanged (inherited from UserControl) | |
AutoValidateChanged (inherited from UserControl) | |
BackColorChanged (inherited from Control) | |
BackgroundImageChanged (inherited from Control) | |
BackgroundImageLayoutChanged (inherited from Control) | |
BindingContextChanged (inherited from Control) | |
CausesValidationChanged (inherited from Control) | |
ChangeUICues (inherited from Control) | |
Click (inherited from Control) | |
ClientSizeChanged (inherited from Control) | |
ContextMenuChanged (inherited from Control) | |
ContextMenuStripChanged (inherited from Control) | |
ControlAdded (inherited from Control) | |
ControlRemoved (inherited from Control) | |
CursorChanged (inherited from Control) | |
Disposed (inherited from Component) | |
DockChanged (inherited from Control) | |
DoubleClick (inherited from Control) | |
DragDrop (inherited from Control) | |
DragEnter (inherited from Control) | |
DragLeave (inherited from Control) | |
DragOver (inherited from Control) | |
EnabledChanged (inherited from Control) | |
Enter (inherited from Control) | |
FontChanged (inherited from Control) | |
ForeColorChanged (inherited from Control) | |
GiveFeedback (inherited from Control) | |
GotFocus (inherited from Control) | |
HandleCreated (inherited from Control) | |
HandleDestroyed (inherited from Control) | |
HelpRequested (inherited from Control) | |
ImeModeChanged (inherited from Control) | |
Invalidated (inherited from Control) | |
KeyDown (inherited from Control) | |
KeyPress (inherited from Control) | |
KeyUp (inherited from Control) | |
Layout (inherited from Control) | |
Leave (inherited from Control) | |
Load (inherited from UserControl) | |
LocationChanged (inherited from Control) | |
LostFocus (inherited from Control) | |
MarginChanged (inherited from Control) | |
MouseCaptureChanged (inherited from Control) | |
MouseClick (inherited from Control) | |
MouseDoubleClick (inherited from Control) | |
MouseDown (inherited from Control) | |
MouseEnter (inherited from Control) | |
MouseHover (inherited from Control) | |
MouseLeave (inherited from Control) | |
MouseMove (inherited from Control) | |
MouseUp (inherited from Control) | |
MouseWheel (inherited from Control) | |
Move (inherited from Control) | |
PaddingChanged (inherited from Control) | |
Paint (inherited from Control) | |
ParentChanged (inherited from Control) | |
PreviewKeyDown (inherited from Control) | |
QueryAccessibilityHelp (inherited from Control) | |
QueryContinueDrag (inherited from Control) | |
RegionChanged (inherited from Control) | |
Resize (inherited from Control) | |
RightToLeftChanged (inherited from Control) | |
Scroll (inherited from ScrollableControl) | |
SizeChanged (inherited from Control) | |
StyleChanged (inherited from Control) | |
SystemColorsChanged (inherited from Control) | |
TabIndexChanged (inherited from Control) | |
TabStopChanged (inherited from Control) | |
TextChanged (inherited from UserControl) | |
Validated (inherited from Control) | |
Validating (inherited from Control) | |
VisibleChanged (inherited from Control) |
AutoScaleFactor (inherited from ContainerControl) | |
CanEnableIme (inherited from ContainerControl) | |
CanRaiseEvents (inherited from Control) | |
CreateParams (inherited from UserControl) | |
DefaultCursor (inherited from Control) | |
DefaultImeMode (inherited from Control) | |
DefaultMargin (inherited from Control) | |
DefaultMaximumSize (inherited from Control) | |
DefaultMinimumSize (inherited from Control) | |
DefaultPadding (inherited from Control) | |
DefaultSize (inherited from UserControl) | |
DesignMode (inherited from Component) | |
DoubleBuffered (inherited from Control) | |
Events (inherited from Component) | |
FontHeight (inherited from Control) | |
HScroll (inherited from ScrollableControl) | |
ResizeRedraw (inherited from Control) | |
ScaleChildren (inherited from Control) | |
VScroll (inherited from ScrollableControl) |
AccessibilityNotifyClients (inherited from Control) | Overloaded. |
AdjustFormScrollbars (inherited from ContainerControl) | |
CreateAccessibilityInstance (inherited from Control) | |
CreateControlsInstance (inherited from Control) | |
CreateHandle (inherited from Control) | |
DefWndProc (inherited from Control) | |
DestroyHandle (inherited from Control) | |
Dispose | Overloaded. Clean up any resources being used. |
Finalize (inherited from Component) | |
GetAccessibilityObjectById (inherited from Control) | |
GetAutoSizeMode (inherited from Control) | |
GetScaledBounds (inherited from Control) | |
GetScrollState (inherited from ScrollableControl) | |
GetService (inherited from Component) | |
GetStyle (inherited from Control) | |
GetTopLevel (inherited from Control) | |
InitLayout (inherited from Control) | |
InvokeGotFocus (inherited from Control) | |
InvokeLostFocus (inherited from Control) | |
InvokeOnClick (inherited from Control) | |
InvokePaint (inherited from Control) | |
InvokePaintBackground (inherited from Control) | |
IsInputChar (inherited from Control) | |
IsInputKey (inherited from Control) | |
MemberwiseClone (inherited from MarshalByRefObject) | Overloaded. |
MemberwiseClone (inherited from Object) | Overloaded. |
NotifyInvalidate (inherited from Control) | |
OnAutoSizeChanged (inherited from Control) | |
OnAutoValidateChanged (inherited from ContainerControl) | |
OnBackColorChanged (inherited from Control) | |
OnBackgroundImageChanged (inherited from Control) | |
OnBackgroundImageLayoutChanged (inherited from Control) | |
OnBindingContextChanged (inherited from Control) | |
OnCausesValidationChanged (inherited from Control) | |
OnChangeUICues (inherited from Control) | |
OnClick (inherited from Control) | |
OnClientSizeChanged (inherited from Control) | |
OnContextMenuChanged (inherited from Control) | |
OnContextMenuStripChanged (inherited from Control) | |
OnControlAdded (inherited from Control) | |
OnControlRemoved (inherited from Control) | |
OnCreateControl (inherited from UserControl) | |
OnCursorChanged (inherited from Control) | |
OnDockChanged (inherited from Control) | |
OnDoubleClick (inherited from Control) | |
OnDragDrop (inherited from Control) | |
OnDragEnter (inherited from Control) | |
OnDragLeave (inherited from Control) | |
OnDragOver (inherited from Control) | |
OnEnabledChanged (inherited from Control) | |
OnEnter (inherited from Control) | |
OnFontChanged (inherited from ContainerControl) | |
OnForeColorChanged (inherited from Control) | |
OnGiveFeedback (inherited from Control) | |
OnGotFocus (inherited from Control) | |
OnHandleCreated (inherited from Control) | |
OnHandleDestroyed (inherited from Control) | |
OnHelpRequested (inherited from Control) | |
OnImeModeChanged (inherited from Control) | |
OnInvalidated (inherited from Control) | |
OnKeyDown (inherited from Control) | |
OnKeyPress (inherited from Control) | |
OnKeyUp (inherited from Control) | |
OnLayout (inherited from ContainerControl) | |
OnLeave (inherited from Control) | |
OnLoad (inherited from UserControl) | |
OnLocationChanged (inherited from Control) | |
OnLostFocus (inherited from Control) | |
OnMarginChanged (inherited from Control) | |
OnMouseCaptureChanged (inherited from Control) | |
OnMouseClick (inherited from Control) | |
OnMouseDoubleClick (inherited from Control) | |
OnMouseDown (inherited from UserControl) | |
OnMouseEnter (inherited from Control) | |
OnMouseHover (inherited from Control) | |
OnMouseLeave (inherited from Control) | |
OnMouseMove (inherited from Control) | |
OnMouseUp (inherited from Control) | |
OnMouseWheel (inherited from ScrollableControl) | |
OnMove (inherited from Control) | |
OnNotifyMessage (inherited from Control) | |
OnPaddingChanged (inherited from ScrollableControl) | |
OnPaint (inherited from Control) | |
OnPaintBackground (inherited from ScrollableControl) | |
OnParentBackColorChanged (inherited from Control) | |
OnParentBackgroundImageChanged (inherited from Control) | |
OnParentBindingContextChanged (inherited from Control) | |
OnParentChanged (inherited from ContainerControl) | |
OnParentCursorChanged (inherited from Control) | |
OnParentEnabledChanged (inherited from Control) | |
OnParentFontChanged (inherited from Control) | |
OnParentForeColorChanged (inherited from Control) | |
OnParentRightToLeftChanged (inherited from Control) | |
OnParentVisibleChanged (inherited from Control) | |
OnPreviewKeyDown (inherited from Control) | |
OnPrint (inherited from Control) | |
OnQueryContinueDrag (inherited from Control) | |
OnRegionChanged (inherited from Control) | |
OnResize (inherited from UserControl) | |
OnRightToLeftChanged (inherited from ScrollableControl) | |
OnScroll (inherited from ScrollableControl) | |
OnSizeChanged (inherited from Control) | |
OnStyleChanged (inherited from Control) | |
OnSystemColorsChanged (inherited from Control) | |
OnTabIndexChanged (inherited from Control) | |
OnTabStopChanged (inherited from Control) | |
OnTextChanged (inherited from Control) | |
OnValidated (inherited from Control) | |
OnValidating (inherited from Control) | |
OnVisibleChanged (inherited from ScrollableControl) | |
ProcessCmdKey (inherited from ContainerControl) | |
ProcessDialogChar (inherited from ContainerControl) | |
ProcessDialogKey (inherited from ContainerControl) | |
ProcessKeyEventArgs (inherited from Control) | |
ProcessKeyPreview (inherited from Control) | |
ProcessTabKey (inherited from ContainerControl) | |
RaiseDragEvent (inherited from Control) | |
RaiseKeyEvent (inherited from Control) | |
RaiseMouseEvent (inherited from Control) | |
RaisePaintEvent (inherited from Control) | |
RecreateHandle (inherited from Control) | |
ResetMouseEventArgs (inherited from Control) | |
RtlTranslateAlignment (inherited from Control) | Overloaded. |
RtlTranslateHorizontal (inherited from Control) | |
RtlTranslateLeftRight (inherited from Control) | |
ScaleControl (inherited from ScrollableControl) | |
ScaleCore (inherited from ScrollableControl) | |
ScrollToControl (inherited from ScrollableControl) | |
Select (inherited from ContainerControl) | Overloaded. |
SetAutoSizeMode (inherited from Control) | |
SetBoundsCore (inherited from Control) | |
SetClientSizeCore (inherited from Control) | |
SetDisplayRectLocation (inherited from ScrollableControl) | |
SetScrollState (inherited from ScrollableControl) | |
SetStyle (inherited from Control) | |
SetTopLevel (inherited from Control) | |
SetVisibleCore (inherited from Control) | |
SizeFromClientSize (inherited from Control) | |
UpdateBounds (inherited from Control) | Overloaded. |
UpdateDefaultButton (inherited from ContainerControl) | |
UpdateStyles (inherited from Control) | |
UpdateZOrder (inherited from Control) | |
WndProc (inherited from UserControl) |
RenderRightToLeft (inherited from Control) | Obsolete. |
ShowFocusCues (inherited from Control) | |
ShowKeyboardCues (inherited from Control) |
AccessibilityNotifyClients (inherited from Control) | Overloaded. |
ProcessKeyMessage (inherited from Control) | |
ProcessMnemonic (inherited from ContainerControl) | |
RtlTranslateContent (inherited from Control) | |
UpdateBounds (inherited from Control) | Overloaded. |
ConnectionStringManager Class | CleanCodeControls.Forms Namespace