ConnectionStringEditor::SetProviderName Method (Object^, DesignerDataConnection^)
.NET Framework (current version)
Puts the provider name on the specified instance of the ConnectionStringEditor class.
Assembly: System.Design (in System.Design.dll)
protected: virtual void SetProviderName( Object^ instance, DesignerDataConnection^ connection )
Parameters
- instance
-
Type:
System::Object^
A ConnectionStringEditor or an instance of a derived class.
- connection
- Type: System.ComponentModel.Design.Data::DesignerDataConnection^
The SetProviderName method sets the provider name on the instance parameter. For example, in the SqlDataSourceConnectionStringEditor, which derives from the ConnectionStringEditor class, this either sets the provider name or adds an ExpressionBinding object, if the connection is a configured connection. In this implementation, the SetProviderName method does nothing.
.NET Framework
Available since 2.0
Available since 2.0
Show: