共用方式為


AdoDotNetConnectionProperties.Add(String) Method

Definition

Adds a new property to the current connection properties collection.

public:
 override void Add(System::String ^ propertyName);
public override void Add (string propertyName);
override this.Add : string -> unit
Public Overrides Sub Add (propertyName As String)

Parameters

propertyName
String

Name of the property being added.

Exceptions

The propertyName parameter is null.

The connection properties are not extensible.

Applies to