GetServiceController Method

MSBuild

Gets the service controller.


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Protected Function GetServiceController() As ServiceController
C#
protected ServiceController GetServiceController()
C++
protected:
 ServiceController GetServiceController() sealed 
J#
protected ServiceController GetServiceController()
JScript
protected  function GetServiceController() : ServiceController

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.