ConnectionStringEditor.GetProviderName Method

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
)
protected String GetProviderName (
	Object instance
)
protected function GetProviderName (
	instance : Object
) : String
Not applicable.

Parameters

instance

A ConnectionStringEditor or an instance of a derived class.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: