DataConnectionProperties.Add(String) Method

Definition

Adds a new property to the current connection properties collection.

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

Parameters

propertyName
String

Name of the property being added.

Implements

Exceptions

The propertyName parameter is null.

The connection properties are not extensible.

Applies to