Compartilhar via


Método CertUtils.LoadCertificateByThumbprint

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Shared Function LoadCertificateByThumbprint ( _
    thumbprint As String, _
    requirePrivateKey As Boolean _
) As X509Certificate2
'Uso
Dim thumbprint As String 
Dim requirePrivateKey As Boolean 
Dim returnValue As X509Certificate2 

returnValue = CertUtils.LoadCertificateByThumbprint(thumbprint, _
    requirePrivateKey)
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 static function LoadCertificateByThumbprint(
    thumbprint : String, 
    requirePrivateKey : boolean
) : X509Certificate2

Parâmetros

Valor de retorno

Tipo: System.Security.Cryptography.X509Certificates.X509Certificate2

Consulte também

Referência

CertUtils Classe

Namespace Microsoft.AnalysisServices