Share via


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.String

    The endpoint for the service host.

  • userName
    Type: System.String

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

  • password
    Type: System.String

    The password for the service account.

.NET Framework Security

See Also

Reference

BuildServiceHostUtilities Class

Microsoft.TeamFoundation.Build.Config Namespace