SparkSessionOperationsExtensions.GetStatementAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Synapse.Models.LivyStatementResponseBody> GetStatementAsync (this Microsoft.Azure.Synapse.ISparkSessionOperations operations, string workspaceName, string sparkPoolName, int sessionId, int statementId, System.Threading.CancellationToken cancellationToken = default);
static member GetStatementAsync : Microsoft.Azure.Synapse.ISparkSessionOperations * string * string * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Synapse.Models.LivyStatementResponseBody>
<Extension()>
Public Function GetStatementAsync (operations As ISparkSessionOperations, workspaceName As String, sparkPoolName As String, sessionId As Integer, statementId As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LivyStatementResponseBody)

Parameters

workspaceName
System.String
sparkPoolName
System.String
sessionId
System.Int32
statementId
System.Int32
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<LivyStatementResponseBody>

Applies to