Düzenle

Aracılığıyla paylaş


ConfigurationSetting method - ListSSLCertificates

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 wasn't successful.

Requirements

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