This topic has not yet been rated - Rate this topic

BuildServiceHostUtilities.ChangeEndpointAndUser Method

Note: This API is now obsolete.

Changes the endpoint—the incoming URI, such as http://machinename:9191—and the service account for the currently registered service host.

Namespace:  Microsoft.TeamFoundation.Build.Config
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
[ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
	false)]
public static void ChangeEndpointAndUser(
	string endpoint,
	X509Certificate2 serverCertificate,
	string userName,
	string password
)

Parameters

endpoint
Type: String

The new endpoint for the currently registered service host.

serverCertificate
Type: X509Certificate2

The X509 certificate to use for server authentication.

userName
Type: String

The service account to use for the service host. If null, Network Service will be used.

password
Type: String

The password for the service account.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.