Share via


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

'Declaration
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

See Also

Reference

IDataConnectionProperties Interface

Reset Overload

Microsoft.Data.ConnectionUI Namespace