次の方法で共有


IDataConnectionProperties.Reset Method

Definition

Overloads

Reset()

Resets all connection properties and restores the object to its initial state.

Reset(String)

Resets a specified connection property to its initial value.

Reset()

Resets all connection properties and restores the object to its initial state.

public:
 void Reset();
public void Reset ();
abstract member Reset : unit -> unit
Public Sub Reset ()

Applies to

Reset(String)

Resets a specified connection property to its initial value.

public:
 void Reset(System::String ^ propertyName);
public void Reset (string propertyName);
abstract member Reset : string -> unit
Public Sub Reset (propertyName As String)

Parameters

propertyName
String

Name of the connection property being set to its default value.

Exceptions

The propertyName parameter is null.

Applies to