你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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