语言

ScriptFactory.ScheduleSqlScriptAsOneStep 方法

定义

激活日程对话框,创建一个对应指定文本的 Transact-SQL 步骤作业。

重载

名称 说明
ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IWin32Window)

激活日程对话框,创建一个对应指定文本的 Transact-SQL 步骤作业。

ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IServiceProvider, IWin32Window)

激活日程对话框,创建一个对应指定文本的 Transact-SQL 步骤作业。

ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IWin32Window)

激活日程对话框,创建一个对应指定文本的 Transact-SQL 步骤作业。

public:
 virtual System::Windows::Forms::DialogResult ScheduleSqlScriptAsOneStep(System::String ^ text, Microsoft::SqlServer::Management::Common::SqlConnectionInfo ^ ci, System::Windows::Forms::IWin32Window ^ parentWindow);
public System.Windows.Forms.DialogResult ScheduleSqlScriptAsOneStep(string text, Microsoft.SqlServer.Management.Common.SqlConnectionInfo ci, System.Windows.Forms.IWin32Window parentWindow);
abstract member ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
override this.ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Function ScheduleSqlScriptAsOneStep (text As String, ci As SqlConnectionInfo, parentWindow As IWin32Window) As DialogResult

参数

text
String

包含文本到脚本的字符串值。

parentWindow
IWin32Window

父 IWin32Window 对象。

返回

DialogResult 对象。

实现

适用于

ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IServiceProvider, IWin32Window)

激活日程对话框,创建一个对应指定文本的 Transact-SQL 步骤作业。

public:
 virtual System::Windows::Forms::DialogResult ScheduleSqlScriptAsOneStep(System::String ^ text, Microsoft::SqlServer::Management::Common::SqlConnectionInfo ^ ci, IServiceProvider ^ serviceProvider, System::Windows::Forms::IWin32Window ^ parentWindow);
public System.Windows.Forms.DialogResult ScheduleSqlScriptAsOneStep(string text, Microsoft.SqlServer.Management.Common.SqlConnectionInfo ci, IServiceProvider serviceProvider, System.Windows.Forms.IWin32Window parentWindow);
abstract member ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * IServiceProvider * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
override this.ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * IServiceProvider * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Function ScheduleSqlScriptAsOneStep (text As String, ci As SqlConnectionInfo, serviceProvider As IServiceProvider, parentWindow As IWin32Window) As DialogResult

参数

text
String

包含文本到脚本的字符串值。

serviceProvider
IServiceProvider

IServiceProvider 对象。

parentWindow
IWin32Window

父 IWin32Window 对象。

返回

DialogResult 对象。

实现

适用于