Puts the provider name on the specified instance of the System.Web.UI.Design.ConnectionStringEditor class.
- instance
A System.Web.UI.Design.ConnectionStringEditor or an instance of a derived class.
- connection
A System.ComponentModel.Design.Data.DesignerDataConnection.
The ConnectionStringEditor.SetProviderName(object, System.ComponentModel.Design.Data.DesignerDataConnection) method sets the provider name on the instance parameter. For example, in the SqlDataSourceConnectionStringEditor, which derives from the System.Web.UI.Design.ConnectionStringEditor class, this either sets the provider name or adds an System.Web.UI.ExpressionBinding object, if the connection is a configured connection. In this implementation, the ConnectionStringEditor.SetProviderName(object, System.ComponentModel.Design.Data.DesignerDataConnection) method does nothing.