Delen via


TriggerClient.StartSubscribeTriggerToEventsAsync Method

Definition

Subscribe event trigger to events.

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

Parameters

triggerName
String

The trigger name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

triggerName is null.

Applies to