SqlScriptClient.StartCreateOrUpdateSqlScriptAsync Method

Definition

Creates or updates a Sql Script.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SqlScriptCreateOrUpdateSqlScriptOperation> StartCreateOrUpdateSqlScriptAsync (string sqlScriptName, Azure.Analytics.Synapse.Artifacts.Models.SqlScriptResource sqlScript, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateSqlScriptAsync : string * Azure.Analytics.Synapse.Artifacts.Models.SqlScriptResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SqlScriptCreateOrUpdateSqlScriptOperation>
override this.StartCreateOrUpdateSqlScriptAsync : string * Azure.Analytics.Synapse.Artifacts.Models.SqlScriptResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SqlScriptCreateOrUpdateSqlScriptOperation>
Public Overridable Function StartCreateOrUpdateSqlScriptAsync (sqlScriptName As String, sqlScript As SqlScriptResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SqlScriptCreateOrUpdateSqlScriptOperation)

Parameters

sqlScriptName
String

The sql script name.

sqlScript
SqlScriptResource

Sql Script resource definition.

ifMatch
String

ETag of the SQL script entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

sqlScriptName or sqlScript is null.

Applies to