Professional VB 2005 with .NET 3.0 (Programmer to Programmer)
You can view the services that are used on your computer by opening the Service Control Manager user interface. To do so in Windows 2000, select Administrative Tools
The Status column indicates the current state of the service. If this column is blank, the service has not been started since the last time the computer was booted. Other possible values for Status are Started, Stopped, and Paused. You can access additional settings and details concerning a service by double-clicking it.
When a service is started, it automatically logs into the system using either a user or system account:
-
The user account is a regular NT account that allows the program to interact with the system - in essence, the service impersonates a user.
-
The system account is not associated with a particular user.
The Service Control Manager shown in Figure 31-1 is part of the operating system (OS), which is what supports Windows Services; it is not a part of the .NET Framework. Any service run by the OS is exposed through the Service Control Manager, no matter how the service was created or installed. You can also interact with Windows Services via the Server Explorer in Visual Studio 2005. You’ll see this technique later.
Категории