ConnectionStringEditor.SetProviderName Method
.NET Framework 3.0
Puts the provider name on the specified instance of the ConnectionStringEditor class.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
protected: virtual void SetProviderName ( Object^ instance, DesignerDataConnection^ connection )
protected void SetProviderName ( Object instance, DesignerDataConnection connection )
protected function SetProviderName ( instance : Object, connection : DesignerDataConnection )
Not applicable.
Parameters
- instance
A ConnectionStringEditor or an instance of a derived class.
- connection
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.
Community Additions
ADD
Show: