Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Status As ServiceControllerStatus |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ServiceControllerStatus Status {get;} |
Managed Extensions for C++ | |
---|---|
public: __property ServiceControllerStatus get_Status(); |
C++/CLI | |
---|---|
public: property ServiceControllerStatus Status { ServiceControllerStatus get(); } |
Return Value
One of the ServiceControllerStatus values that indicates whether the process is running, stopped, or paused, or whether a start, stop, pause, or continue command is pending.For an example refer to ServiceAdministrator.InstallService
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family