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
'Declaración
Sub Reset ( _
propertyName As String _
)
void Reset(
string propertyName
)
void Reset(
String^ propertyName
)
abstract Reset :
propertyName:string -> unit
function Reset(
propertyName : String
)
Parameters
- propertyName
Type: System.String
Name 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.
.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.