CertUtils.LoadCertificateByThumbprint Method
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Shared Function LoadCertificateByThumbprint ( _
thumbprint As String, _
requirePrivateKey As Boolean _
) As X509Certificate2
'Usage
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
Parameters
- thumbprint
Type: System.String
- requirePrivateKey
Type: System.Boolean
Return Value
Type: System.Security.Cryptography.X509Certificates.X509Certificate2