BuildServiceHostUtilities.ChangeEndpointAndUser Method
Namespace: Microsoft.TeamFoundation.Build.Config
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
Public Shared Sub ChangeEndpointAndUser ( _
endpoint As String, _
serverCertificate As X509Certificate2, _
userName As String, _
password As String _
)
public static void ChangeEndpointAndUser(
string endpoint,
X509Certificate2 serverCertificate,
string userName,
string password
)
public:
static void ChangeEndpointAndUser(
String^ endpoint,
X509Certificate2^ serverCertificate,
String^ userName,
String^ password
)
static member ChangeEndpointAndUser :
endpoint:string *
serverCertificate:X509Certificate2 *
userName:string *
password:string -> unit
public static function ChangeEndpointAndUser(
endpoint : String,
serverCertificate : X509Certificate2,
userName : String,
password : String
)
Parameters
- endpoint
Type: System.String
- serverCertificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
- userName
Type: System.String
- password
Type: System.String
.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.