Share via


nscontrol displayargumentkey 命令

更新: 2005 年 12 月 5 日

如果執行個體使用引數加密的話,會顯示用來加密傳遞通道和事件提供者引數的 SQL Server Notification Services 金鑰值。

語法

nscontrol displayargumentkey 
    [-nologo]
    [-help]
        –name instanceName

引數

  • -nologo
    隱藏執行 nscontrol 命令時所顯示的產品和版本聲明。
  • -help
    顯示命令語法。
  • -nameinstanceName
    這是使用引數加密之 Notification Services 執行個體的名稱。

備註

利用執行個體組態檔 (ICF) 中的 EncryptArguments 元素來設定引數加密。當 EncryptArguments 值是 true, Notification Services 時,Notification Services 會先加密傳遞通道和事件提供者引數的值,再將這些值儲存在執行個體和應用程式資料庫中。

您最初在註冊或建立執行個體時,需要提供金鑰值。在建立、更新或註冊執行個體時,您必須使用相同的金鑰值。您可以利用 nscontrol displayargumentkey 命令來檢視金鑰。

nscontrol displayargumentkey 命令會從登錄中傳回金鑰值。

權限

用來執行 nscontrol displayargumentkey 的帳戶必須是 Windows 中之 AdministratorsPower Users 群組的成員,或必須是用來操作執行個體的相同帳戶。此帳戶也必須有權限執行 Notification Services 二進位檔;此權限已授與 Administrators 和 SQLServerNotificationServicesUser Windows 群組的成員。

範例

下列範例會顯示如何檢視 StockInstance 執行個體的引數金鑰。

nscontrol displayargumentkey -name StockInstance

請參閱

參考

nscontrol 公用程式

其他資源

EncryptArguments Element (ICF)

說明及資訊

取得 SQL Server 2005 協助

變更歷程記錄

版本 歷程記錄

2005 年 12 月 5 日

新增內容:
  • 新增有關 SQLServerNotificationServicesUser Windows 群組的資訊。