Share via


CertUtils.LoadCertificateByThumbprint Method (String, Boolean)

 

Applies To: SQL Server (starting with 2016)

Loads an X509Certificate2 object, given its thumbprint.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Syntax

public static X509Certificate2 LoadCertificateByThumbprint(
    string thumbprint,
    bool requirePrivateKey
)
public:
static X509Certificate2^ LoadCertificateByThumbprint(
    String^ thumbprint,
    bool requirePrivateKey
)
static member LoadCertificateByThumbprint : 
        thumbprint:string *
        requirePrivateKey:bool -> X509Certificate2
Public Shared Function LoadCertificateByThumbprint (
    thumbprint As String,
    requirePrivateKey As Boolean
) As X509Certificate2

Parameters

Return Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

See Also

CertUtils Class
Microsoft.AnalysisServices Namespace

Return to top