Share via


DataConnectionUIControl.Initialize Method

Initializes connection UI control by providing a DataConnectionProperties instance to be used for persisting the properties.

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

Syntax

'Declaration
Public Sub Initialize ( _
    connectionProperties As DataConnectionProperties _
)
public void Initialize(
    DataConnectionProperties connectionProperties
)
public:
void Initialize(
    DataConnectionProperties^ connectionProperties
)
member Initialize : 
        connectionProperties:DataConnectionProperties -> unit
public function Initialize(
    connectionProperties : DataConnectionProperties
)

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.

.NET Framework Security

See Also

Reference

DataConnectionUIControl Class

Microsoft.VisualStudio.Data Namespace