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

SqlManager.Authenticate 方法

定义

重载

Authenticate(AzureCredentials, String)
Authenticate(RestClient, String)

创建公开 Sql 管理 API 入口点的 SqlManager 实例。

Authenticate(AzureCredentials, String)

public static Microsoft.Azure.Management.Sql.Fluent.ISqlManager Authenticate (Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials credentials, string subscriptionId);
static member Authenticate : Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials * string -> Microsoft.Azure.Management.Sql.Fluent.ISqlManager
Public Shared Function Authenticate (credentials As AzureCredentials, subscriptionId As String) As ISqlManager

参数

credentials
AzureCredentials
subscriptionId
String

返回

适用于

Authenticate(RestClient, String)

创建公开 Sql 管理 API 入口点的 SqlManager 实例。

public static Microsoft.Azure.Management.Sql.Fluent.ISqlManager Authenticate (Microsoft.Azure.Management.ResourceManager.Fluent.Core.RestClient restClient, string subscriptionId);
static member Authenticate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.RestClient * string -> Microsoft.Azure.Management.Sql.Fluent.ISqlManager
Public Shared Function Authenticate (restClient As RestClient, subscriptionId As String) As ISqlManager

参数

restClient
RestClient

用于 API 调用的 RestClient

subscriptionId
String

订阅

返回

适用于