ConnectionStringEditor::GetProviderName Method (Object^)

 

Returns the provider name for the provided instance of the ConnectionStringEditor class.

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

protected:
virtual String^ GetProviderName(
	Object^ instance
)

Parameters

instance
Type: System::Object^

A ConnectionStringEditor or an instance of a derived class.

Return Value

Type: System::String^

Always an empty string ("").

The GetProviderName method gets the provider name for the current instance of the ConnectionStringEditor class. For example, in the SqlDataSourceConnectionStringEditor class, which is derived from ConnectionStringEditor class, the GetProviderName method returns the provider name.

.NET Framework
Available since 2.0
Return to top
Show: