Udostępnij za pośrednictwem


Metoda DeleteEncryptionKey (MSReportServer_ConfigurationSetting WMI)

Usuwa klucze szyfrowanie z baza danych serwer raportów.

Składnia

Public Sub DeleteEncryptionKeys(ByVal InstallationID As String, _
    ByRef HRESULT As Int32, ByRef ExtendedErrors() As String)
public void DeleteEncryptionKeys(string InstallationID, out Int32 HRESULT, 
    out string[] ExtendedErrors);

Parameters

  • InstallationID
    Identyfikator instalacji serwera raportowania, znajdującego się w tabela kluczy baza danych serwer raportów.

  • HRESULT
    [Brak] Wartość wskazująca, czy wywołanie zakończyło się powodzeniem, czy nie.

  • ExtendedErrors[]
    [Brak] Tablica ciągów zawierających dodatkowe błędy zwrócone przez wywołanie.

Wartość zwracana

Zwraca HRESULT wskazujące na powodzenie lub Niepowodzenie wywołania metoda.Wartość 0 wskazuje, że wywołanie metoda zakończyła się pomyślnie.Wartość różną od zera wskazuje, że wystąpił błąd.

Remarks

The DeleteEncryptionKey metoda deletes entries from the keys tabela for any report servers that have access to the secure information in the baza danych serwer raportów.Jeśli InstallationID określono parametr nie jest zgodna z IDENTYFIKATOREM instalacji w bazie danych, metoda zwraca błąd.

Wymagania

**Obszar nazw:**root\Microsoft\SqlServer\ReportServer\RS_<EncodedInstanceName>\v10\Admin

**Platforma:**Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional with Service Pack 2 (SP2) or Service Pack 1 (SP1); or Windows 2000 (all versions)