Partager via


DataConnectionUIControl.Initialize(DataConnectionProperties) Method

Definition

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

public:
 void Initialize(Microsoft::VisualStudio::Data::DataConnectionProperties ^ connectionProperties);
public void Initialize (Microsoft.VisualStudio.Data.DataConnectionProperties connectionProperties);
member this.Initialize : Microsoft.VisualStudio.Data.DataConnectionProperties -> unit
Public Sub Initialize (connectionProperties As DataConnectionProperties)

Parameters

connectionProperties
DataConnectionProperties

Connection property to initialize.

Exceptions

The connectionProperties parameter is null.

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

Applies to