| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property Status As ServiceControllerStatus | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As DicomService Dim value As ServiceControllerStatus value = instance.Status | |
| C# | |
|---|---|
public ServiceControllerStatus Status {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property ServiceControllerStatus get_Status(); | |
| C++/CLI | |
|---|---|
public: property ServiceControllerStatus Status { ServiceControllerStatus get(); } | |
Property 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 InstallService
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code