Compartilhar via


SparkSessionClient.GetSparkStatementsAsync(Int32, CancellationToken) Método

Definição

Obtém uma lista de instruções em uma sessão do Spark.

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

Parâmetros

sessionId
Int32

Identificador da sessão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a