.NET Framework 4.6 and 4.5
Gets the type of service that this object references.
member ServiceType : ServiceType with get
The service type indicates how the service is used by the system. The value of the ServiceType property represents a set of flags combined using the bitwise OR operator.
The following example uses the ServiceController class to display the device driver services on the local computer.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1