ListSSLCertificateBindings Method (WMI MSReportServer_ConfigurationSetting)
Returns a list of installed 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 non-zero value indicates that an error has occurred.
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)