CertUtils.LoadCertificateByThumbprint Método
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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
- thumbprint
Tipo: System.String
- requirePrivateKey
Tipo: System.Boolean
Valor devuelto
Tipo: System.Security.Cryptography.X509Certificates.X509Certificate2