AdoDotNetConnectionProperties.Reset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Reset() |
Resets a connection property to its initial value and raises the PropertyChanged event. |
Reset(String) |
Removes the given property from the connection string and raises the PropertyChanged event. |
Reset()
Resets a connection property to its initial value and raises the PropertyChanged event.
public:
virtual void Reset();
public virtual void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Overridable Sub Reset ()
Implements
Applies to
Reset(String)
Removes the given property from the connection string and raises the PropertyChanged event.
public:
virtual bool Reset(System::String ^ key);
public virtual bool Reset (string key);
abstract member Reset : string -> bool
override this.Reset : string -> bool
Public Overridable Function Reset (key As String) As Boolean
Parameters
- key
- String
The property name that is to be removed.
Returns
true if the property is successfully removed; false if the property does not exist.