SqlSmoObject.ExecuteWithModes(SqlExecutionModes, Action) メソッド

定義

指定された実行モードで、指定されたアクションを実行します。

アクションが完了または失敗した後に、元のモードをリセットします。

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

実行するアクション。

適用対象