Aracılığıyla paylaş


SparkSessionOperationsExtensions.CreateStatementAsync Method

Definition

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

Parameters

workspaceName
String
sparkPoolName
String
sessionId
Int32
cancellationToken
CancellationToken

Returns

Applies to