IDataConnectionUIControl.Initialize(IDataConnectionProperties) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.