Share via


SqlScriptClient.GetSqlScriptAsync(String, String, CancellationToken) Method

Definition

Gets a sql script.

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

Parameters

sqlScriptName
String

The sql script name.

ifNoneMatch
String

ETag of the sql compute entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to