BackupEncryptionKey yöntemi (WMI MSReportServer_ConfigurationSetting)
Belirtilen rapor sunucusu örneği şifreleme anahtarı yedekler. Şifreleme anahtarını parolayla şifrelenmiş depolanır.
Sözdizimi
Public Sub BackupEncryptionKey(Password as String, _
ByRef KeyFile() as Integer, ByRef Length as Int32, _
ByRef HRESULT as Int32, ByRef ExtendedErrors() as String)
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);
public void BackupEncryptionKey(string Password, out Byte[] KeyFile,
out Int32 Length, out Int32 HRESULT, out string[] ExtendedErrors);
Parametreler
Password
O döndürülmeden önce şifreleme anahtarı şifrelemek için kullanılan dize.KeyFile[]
[out] Şifrelenmiş şifreleme anahtarını içeren bir dizi.Length
[out] Yöntemi tarafından döndürülen dizi uzunluğu.HRESULT
[out] Çağrı başarılı veya başarısız olup olmadığını gösteren değer.ExtendedErrors[]
[out] Çağrı tarafından döndürülen ek hatalar içeren bir dize dizisi.
Dönüş Değeri
Döner bir HRESULTgösteren başarı veya yöntem çağrısı başarısız. 0 Değeri, yöntem çağrısı başarılı olduğunu gösterir. Sıfır olmayan bir değer, bir hata oluştuğunu gösterir.
Gereksinimler
Namespace: root\Microsoft\SqlServer\ReportServer\<ÖrnekAdı>\v11\Admin
Platform: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional Service Pack 2 (SP2) veya Service Pack 1 (SP1) veya Windows 2000 (tüm sürümleri)