共用方式為


TriggerClient.StartSubscribeTriggerToEvents(String, CancellationToken) Method

Definition

Subscribe event trigger to events.

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

Parameters

triggerName
String

The trigger name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

triggerName is null.

Applies to