BuildServiceHostUtilities.ChangeInteractive Method (Boolean)
Changes the service interactive flag for the currently registered service host.
Namespace: Microsoft.TeamFoundation.Build.Config
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
Public Shared Sub ChangeInteractive ( _
interactive As Boolean _
)
public static void ChangeInteractive(
bool interactive
)
public:
static void ChangeInteractive(
bool interactive
)
static member ChangeInteractive :
interactive:bool -> unit
public static function ChangeInteractive(
interactive : boolean
)
Parameters
interactive
Type: System.BooleanThe way the service runs: as an interactive process or as a windows service.
.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.