IDtsConnectionManagerUI.Edit 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
编辑现有连接管理器。
public:
bool Edit(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, Microsoft::SqlServer::Dts::Runtime::Design::ConnectionManagerUIArgs ^ connectionUIArg);
public bool Edit (System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.Connections connections, Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs connectionUIArg);
abstract member Edit : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs -> bool
Public Function Edit (parentWindow As IWin32Window, connections As Connections, connectionUIArg As ConnectionManagerUIArgs) As Boolean
参数
- parentWindow
- IWin32Window
承载该任务的设计器的 IWin32Window 接口。
- connections
- Connections
可供编辑的连接。
- connectionUIArg
- ConnectionManagerUIArgs
实现 ConnectionManagerUIArgs 的类,例如 FileConnectionManagerUIArgs 或 MultiFileConnectionManagerUIArgs。
返回
如果修改了连接管理器,则为 true。