ListSSLCertificates Method (WMI MSReportServer_ConfigurationSetting)

Returns a list of certificates on the report server computer.

Syntax

Public Sub CreateSSLCertificateBinding (ByRef CertificateHash() as String, _
    ByRef CertName() as String, ByRef HostName() as String, ByRef Length as Int32, _ 
    ByRef HRESULT as Int32)
public void ListSSLCertificates(out string[] CertificateHash, 
    out string[] CertName, out string[] Hostname, out Int32 length, 
    out Int32 HRESULT);

Parameters

  • CertificateHash[]
    [out] The certificate hashes.

  • CertName[]
    [out] Names of the certificate.

  • HostName[]
    [out] The host names for the certificates.

  • Length
    [out] Represents the length of the CertificateHash, CertName and HostName arrays.

  • 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.

Requirements

Namespace: root\Microsoft\SqlServer\ReportServer\RS_<EncodedInstanceName>\v10\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)