SqlSmoObject.ExecuteWithModes(SqlExecutionModes, Action) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定された実行モードで、指定されたアクションを実行します。
アクションが完了または失敗した後に、元のモードをリセットします。
public void ExecuteWithModes(Microsoft.SqlServer.Management.Common.SqlExecutionModes modes, Action action);
member this.ExecuteWithModes : Microsoft.SqlServer.Management.Common.SqlExecutionModes * Action -> unit
Public Sub ExecuteWithModes (modes As SqlExecutionModes, action As Action)
パラメーター
- modes
- SqlExecutionModes
アクションを実行するモード。
- action
- Action
実行するアクション。