SqlDataSourceConnectionStringEditor.GetProviderName Method (Object)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the ProviderName property of the SqlDataSource object.

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

Protected Overrides Function GetProviderName (
	instance As Object
) As String

Parameters

instance
Type: System.Object

The SqlDataSource that the connection string applies to.

Return Value

Type: System.String

The ProviderName property of the SqlDataSource, if the instance is not null; otherwise, an empty string ("").

.NET Framework
Available since 2.0
Return to top
Show: