PubSettingsParser.UpdateCredentials Method
Namespace: Microsoft.TeamFoundation.Deployment.Workflow
Assembly: Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)
Syntax
'Declaration
Public Shared Function UpdateCredentials ( _
fileText As String, _
subscriptionId As String, _
certificate As X509Certificate2, _
<OutAttribute> ByRef updatedCredentials As String _
) As Boolean
public static bool UpdateCredentials(
string fileText,
string subscriptionId,
X509Certificate2 certificate,
out string updatedCredentials
)
public:
static bool UpdateCredentials(
String^ fileText,
String^ subscriptionId,
X509Certificate2^ certificate,
[OutAttribute] String^% updatedCredentials
)
static member UpdateCredentials :
fileText:string *
subscriptionId:string *
certificate:X509Certificate2 *
updatedCredentials:string byref -> bool
public static function UpdateCredentials(
fileText : String,
subscriptionId : String,
certificate : X509Certificate2,
updatedCredentials : String
) : boolean
Parameters
- fileText
Type: System.String
- subscriptionId
Type: System.String
- certificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
- updatedCredentials
Type: System.String%
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.