Share via


SparkSessionClient.GetSparkStatementAsync Method

Definition

Gets a single statement within a spark session.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Spark.Models.SparkStatement>> GetSparkStatementAsync (int sessionId, int statementId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSparkStatementAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Spark.Models.SparkStatement>>
override this.GetSparkStatementAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Spark.Models.SparkStatement>>
Public Overridable Function GetSparkStatementAsync (sessionId As Integer, statementId As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SparkStatement))

Parameters

sessionId
Int32

Identifier for the session.

statementId
Int32

Identifier for the statement.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to