ScriptFactory.ScheduleSqlScriptAsOneStep 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟動排程對話框,並建立一個對應指定文字的一個 Transact-SQL 步驟的工作。
多載
| 名稱 | Description |
|---|---|
| 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 物件。