Düzenle

Aracılığıyla paylaş


ConfigurationSetting method - ListSSLCertificateBindings

Returns a list of installed TLS/SSL certificates on the computer.

Syntax

Public Sub ListSSLCertificateBindings(ByVal LCID As Int32, ByRef Application() As String, _  
    ByRef CertificateHash() As String, ByRef IPAddresses() As String, ByRef Port() As Int32, _  
    ByRef Errors() As String, ByRef Length As Int32, _  
    ByRef HRESULT As Int32)  
public void ListSSLCertificateBindings(Int32 Lcid, out string[] Application,   
    out string[] CertificateHash,out string[] IPAddress,   
    out Int32[] Port, out string Errors,   
    out Int32 length, out Int32 HRESULT);  

Parameters

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

Application[]
[out] The applications that have certificate bindings.

CertificateHash[]
[out] The hashes for the certificates.

IPAddress[]
[out] The IP address for the applications.

Port[]
[out] The port number stored in the binding in rsreportserver.config.

Errors[]
[out] The descriptions for errors that occurred.

Length
[out] The length of the array returned by the method.

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. A nonzero value indicates that an error occurred.

Requirements

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