ConfigurationSetting 方法 - BackupEncryptionKey

備份指定之報表伺服器執行個體的加密金鑰。 此加密金鑰會以密碼加密的方式儲存。

語法

Public Sub BackupEncryptionKey(Password as String, _  
    ByRef KeyFile() as Integer, ByRef Length as Int32, _  
    ByRef HRESULT as Int32, ByRef ExtendedErrors() as String)  
  
public void BackupEncryptionKey(string Password, out Byte[] KeyFile,   
    out Int32 Length, out Int32 HRESULT, out string[] ExtendedErrors);  

參數

密碼
用來在傳回加密金鑰之前進行加密的字串。

KeyFile[]
[out] 包含已加密之加密金鑰的陣列。

長度
[out] 此方法所傳回之陣列的長度。

HRESULT
[out] 指出呼叫成功或失敗的值。

ExtendedErrors[]
[out] 包含呼叫所傳回之其他錯誤的字串陣列。

傳回值

傳回 HRESULT ,指出方法呼叫成功或失敗。 值為 0 表示方法呼叫成功。 非零值表示發生錯誤。

規格需求

Namespace:root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

MSReportServer_ConfigurationSetting 成員