Olvasás angol nyelven

Megosztás a következőn keresztül:


SqlSmoObject.ExecuteWithModes(SqlExecutionModes, Action) Method

Definition

Executes the given action under the given execution modes.

Resets the original modes after the action completes or fails.

C#
public void ExecuteWithModes(Microsoft.SqlServer.Management.Common.SqlExecutionModes modes, Action action);

Parameters

modes
SqlExecutionModes

The modes to run the action under.

action
Action

The action to run.

Applies to

Termék Verziók
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0