IDataConnectionProperties.Reset Method (String)
Resets a specified connection property to its initial value.
Namespace: Microsoft.Data.ConnectionUI
Assembly: Microsoft.Data.ConnectionUI (in Microsoft.Data.ConnectionUI.dll)
Syntax
void Reset(
string propertyName
)
void Reset(
String^ propertyName
)
abstract Reset :
propertyName:string -> unit
Sub Reset (
propertyName As String
)
Parameters
propertyName
Type: System.StringName of the connection property being set to its default value.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The propertyName parameter is null. |
Remarks
The initial value of a connection property addressed by this method can be undefined (no default). Calling this method on such a property would result in the property reverting to not being set.
See Also
Reset Overload
IDataConnectionProperties Interface
Microsoft.Data.ConnectionUI Namespace
Return to top