SqlScriptClient.StartCreateOrUpdateSqlScriptAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.