System.Web.UI.Design.ConnectionStringEditor.GetProviderName Method

Returns the provider name for the provided instance of the System.Web.UI.Design.ConnectionStringEditor class.

Syntax

protected virtual string GetProviderName (object instance)

Parameters

instance
A System.Web.UI.Design.ConnectionStringEditor or an instance of a derived class.

Returns

Always an empty string ("").

Remarks

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.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0