Share via


IDataConnectionProperties.Add Method

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

'Declaration
Sub Add ( _
    propertyName As String _
)
void Add(
    string propertyName
)
void Add(
    String^ propertyName
)
abstract Add : 
        propertyName:string -> unit
function Add(
    propertyName : 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.

.NET Framework Security

See Also

Reference

IDataConnectionProperties Interface

Microsoft.Data.ConnectionUI Namespace

Remove

PropertyChanged