Dela via


PubSettingsParser.ParseCertificate Method

Namespace:  Microsoft.TeamFoundation.Deployment.Workflow
Assembly:  Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)

Syntax

'Declaration
Public Shared Function ParseCertificate ( _
    fileText As String, _
    subscriptionId As String _
) As X509Certificate2
public static X509Certificate2 ParseCertificate(
    string fileText,
    string subscriptionId
)
public:
static X509Certificate2^ ParseCertificate(
    String^ fileText, 
    String^ subscriptionId
)
static member ParseCertificate : 
        fileText:string * 
        subscriptionId:string -> X509Certificate2
public static function ParseCertificate(
    fileText : String, 
    subscriptionId : String
) : X509Certificate2

Parameters

Return Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

.NET Framework Security

See Also

Reference

PubSettingsParser Class

Microsoft.TeamFoundation.Deployment.Workflow Namespace