SqlScriptClient.StartRenameSqlScriptAsync Method

Definition

Renames a sqlScript.

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

Parameters

sqlScriptName
String

The sql script name.

request
ArtifactRenameRequest

proposed new name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

sqlScriptName or request is null.

Applies to