Returns the provider name for the provided instance of the System.Web.UI.Design.ConnectionStringEditor class.
- instance
A System.Web.UI.Design.ConnectionStringEditor or an instance of a derived class.
![]()
Always an empty string ("").
The ConnectionStringEditor.GetProviderName(object) method gets the provider name for the current instance of the System.Web.UI.Design.ConnectionStringEditor class. For example, in the System.Web.UI.Design.WebControls.SqlDataSourceConnectionStringEditor class, which is derived from System.Web.UI.Design.ConnectionStringEditor class, the ConnectionStringEditor.GetProviderName(object) method returns the provider name.