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
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin