次の方法で共有


MetricsAdvisorKeyCredential.Update(String, String) メソッド

定義

サブスクリプションキーと API キーを更新します。 これは、キーを再生成し、有効期間の長いクライアントを更新する場合に使用することを目的としています。

public void Update (string subscriptionKey, string apiKey);
member this.Update : string * string -> unit
Public Sub Update (subscriptionKey As String, apiKey As String)

パラメーター

subscriptionKey
String

サービスを認証するサブスクリプション キー。

apiKey
String

Metrics Advisor サービスでユーザーの認証に使用する API キー。 管理者と閲覧者を区別するために使用されます。

例外

subscriptionKey または apiKey が null です。

subscriptionKey または apiKey が空です。

適用対象