TriggerClient.GetEventSubscriptionStatusAsync(String, CancellationToken) Method

Definition

Get a trigger's event subscription status.

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

Parameters

triggerName
System.String

The trigger name.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<TriggerSubscriptionOperationStatus>>

Applies to