RemoveSSLCertificateBindings Method (WMI MSReportServer_ConfigurationSetting)

Removes an SSL Certificate binding.

Syntax

Public Sub RemoveSSLCertificateBinding(ByVal Application As String, _
    ByVal CertificateHash As String, ByVal IPAddress As String, _
    ByVal Port As Int32, ByVal Lcid As Int32, _
    ByRef [Error] As String, ByRef HRESULT As Int32)
public void RemoveSSLCertificateBindings(string Application,
    string CertificateHash, string IPAddress, Int32 Port, Int32 Lcid,
    out string Error, out Int32 HRESULT);

Parameters

  • Application
    The name of application for which the certificate binding should be removed.

  • CertificateHash
    The hash for the certificate.

  • IPAddress
    The IP address for the application.

  • Port
    The SSL port associated with the binding.

  • lcid
    The locale to use for the error messages that are returned.

  • Error
    [out] The description of the error that occurred.

  • HRESULT
    [out] Value indicating whether the call succeeded or failed.

Return Value

Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful; an error code indicates the call was not successful.

Remarks

This method removes the specific binding from the rsreportserver.config file and optionally HTTP.SYS.

Requirements

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

Platform: 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)

See Also

Reference

MSReportServer_ConfigurationSetting Members