次の方法で共有


IDataConnectionUIControl.Initialize(IDataConnectionProperties) Method

Definition

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.

public:
 void Initialize(Microsoft::Data::ConnectionUI::IDataConnectionProperties ^ connectionProperties);
public void Initialize (Microsoft.Data.ConnectionUI.IDataConnectionProperties connectionProperties);
abstract member Initialize : Microsoft.Data.ConnectionUI.IDataConnectionProperties -> unit
Public Sub Initialize (connectionProperties As IDataConnectionProperties)

Parameters

connectionProperties
IDataConnectionProperties

The set of connection properties serving as stores for data shown on the data connection UI control.

Exceptions

The connectionProperties parameter is null.

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

Applies to