TriggerClient.StartStopTriggerAsync(String, CancellationToken) Method

Definition

Stops a trigger.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.TriggerStopTriggerOperation> StartStopTriggerAsync (string triggerName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartStopTriggerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.TriggerStopTriggerOperation>
override this.StartStopTriggerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.TriggerStopTriggerOperation>
Public Overridable Function StartStopTriggerAsync (triggerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TriggerStopTriggerOperation)

Parameters

triggerName
String

The trigger name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

triggerName is null.

Applies to