Mono Class Library: System.Data.SqlClient.SqlCommand Overview | Members

System.Data.SqlClient.SqlCommand.Cancel Method

Attempts to cancel the execution of a command.

public override void Cancel ()

Remarks

No exception is raised if the cancelation attempt is not successful.

Requirements

Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0