共用方式為


IDataConnectionProperties.Add(String) Method

Definition

Adds a custom property to the existing set of data connection properties recognized by the data provider.

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

Parameters

propertyName
String

Name of the custom property added to the existing set of connection properties.

Exceptions

The propertyName parameter is null.

The specified connection properties are not extensible.

Applies to