Metodo CertUtils.LoadCertificateByThumbprint
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Shared Function LoadCertificateByThumbprint ( _
thumbprint As String, _
requirePrivateKey As Boolean _
) As X509Certificate2
'Utilizzo
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
Parametri
- thumbprint
Tipo: System.String
- requirePrivateKey
Tipo: System.Boolean
Valore restituito
Tipo: System.Security.Cryptography.X509Certificates.X509Certificate2