次の方法で共有


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

スクリプト作成の対象テキストを格納する文字列値です。

ci
SqlConnectionInfo

SqlConnectionInfo オブジェクト。

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

スクリプト作成の対象テキストを格納する文字列値です。

ci
SqlConnectionInfo

SqlConnectionInfo オブジェクト。

serviceProvider
IServiceProvider

IServiceProvider オブジェクト。

parentWindow
IWin32Window

IWin32Window オブジェクト。

戻り値

DialogResult オブジェクト。

実装

適用対象