共用方式為


Cancel 方法

Attempts to cancel the execution of an IDbCommand.

命名空間:  Microsoft.ReportingServices.DataProcessing
組件:   Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
  Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)

語法

'宣告
Sub Cancel
'用途
Dim instance As IDbCommand

instance.Cancel()
void Cancel()
void Cancel()
abstract Cancel : unit -> unit 
function Cancel()

備註

If there is nothing to cancel, nothing happens. If there is a command in process, and the attempt to cancel fails, an exception is thrown.