BuildServiceHostUtilities.RegisterEndpointOnly Method
Partially registers the service host by using the provided endpoint userName, and password. The service host will not be registered with a project collection and will not be usable until registration is completed.
Namespace: Microsoft.TeamFoundation.Build.Config
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
Public Shared Sub RegisterEndpointOnly ( _
endpoint As String, _
userName As String, _
password As String _
)
public static void RegisterEndpointOnly(
string endpoint,
string userName,
string password
)
public:
static void RegisterEndpointOnly(
String^ endpoint,
String^ userName,
String^ password
)
static member RegisterEndpointOnly :
endpoint:string *
userName:string *
password:string -> unit
public static function RegisterEndpointOnly(
endpoint : String,
userName : String,
password : String
)
Parameters
endpoint
Type: System.StringThe endpoint for the service host.
userName
Type: System.StringThe service account to use for the service host. If null, Network Service will be used.
password
Type: System.StringThe password for the service account.
.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.