SqlDataSourceConnectionStringEditor.SetProviderName Method (Object, DesignerDataConnection)

 

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

Sets the ProviderName property of the SqlDataSource object.

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

protected override void SetProviderName(
	object instance,
	DesignerDataConnection connection
)

Parameters

instance
Type: System.Object

The SqlDataSource that the connection string applies to.

connection
Type: System.ComponentModel.Design.Data.DesignerDataConnection

The DesignerDataConnection associated with the SqlDataSource.

.NET Framework
Available since 2.0
Return to top
Show: