Share via


IDataConnectionUIControl.Initialize Method (IDataConnectionProperties)

 

Initializes the data connection user interface (UI) control with an instance of the IDataConnectionProperties interface, which serves as the store for the data shown on the data connection UI control.

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

Syntax

void Initialize(
    IDataConnectionProperties connectionProperties
)
void Initialize(
    IDataConnectionProperties^ connectionProperties
)
abstract Initialize : 
        connectionProperties:IDataConnectionProperties -> unit
Sub Initialize (
    connectionProperties As IDataConnectionProperties
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The connectionProperties parameter is null.

ArgumentException

The connectionProperties parameter is not a valid implementation of DataConnectionProperties understood by this connection UI control.

Remarks

This method is called immediately after the connection UI control is instantiated and before any call to the LoadProperties method.

See Also

IDataConnectionUIControl Interface
Microsoft.Data.ConnectionUI Namespace

Return to top