IDataConnectionProperties.Add Method (String)

 

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

Namespace:   Microsoft.Data.ConnectionUI
Assembly:  Microsoft.Data.ConnectionUI (in Microsoft.Data.ConnectionUI.dll)

Syntax

void Add(
    string propertyName
)
void Add(
    String^ propertyName
)
abstract Add : 
        propertyName:string -> unit
Sub Add (
    propertyName As String
)

Parameters

  • propertyName
    Type: System.String

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

Exceptions

Exception Condition
ArgumentNullException

The propertyName parameter is null.

InvalidOperationException

The specified connection properties are not extensible.

See Also

Remove
PropertyChanged
IDataConnectionProperties Interface
Microsoft.Data.ConnectionUI Namespace

Return to top