BuildServiceHostUtilities.Register Method (IBuildServiceHost, String, String)
Namespace: Microsoft.TeamFoundation.Build.Config
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
Public Shared Sub Register ( _
serviceHost As IBuildServiceHost, _
userName As String, _
password As String _
)
public static void Register(
IBuildServiceHost serviceHost,
string userName,
string password
)
public:
static void Register(
IBuildServiceHost^ serviceHost,
String^ userName,
String^ password
)
static member Register :
serviceHost:IBuildServiceHost *
userName:string *
password:string -> unit
public static function Register(
serviceHost : IBuildServiceHost,
userName : String,
password : String
)
Parameters
- serviceHost
Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
- 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.