SqlDataSourceConnectionStringEditor.SetProviderName 方法

定义

设置 ProviderName 对象的 SqlDataSource 属性。

protected:
 override void SetProviderName(System::Object ^ instance, System::ComponentModel::Design::Data::DesignerDataConnection ^ connection);
protected override void SetProviderName (object instance, System.ComponentModel.Design.Data.DesignerDataConnection connection);
override this.SetProviderName : obj * System.ComponentModel.Design.Data.DesignerDataConnection -> unit
Protected Overrides Sub SetProviderName (instance As Object, connection As DesignerDataConnection)

参数

instance
Object

应用连接字符串的 SqlDataSource

适用于

另请参阅