Vcl.SvcMgr.TService.ServiceStartName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ServiceStartName: String read FServiceStartName write SetServiceStartName;

C++

__property System::UnicodeString ServiceStartName = {read=FServiceStartName, write=SetServiceStartName};

Properties

Type Visibility Source Unit Parent
property published
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Description

ServiceStartName is the name used in the Service Control Manager Startup dialog to start the service.

ServiceStartName is the name used to start the service.

If ServiceType is stWin32, ServiceStartName is the account name (in the form "DomainName\Username") which the service process is logged on as when it runs. If the account belongs to the built-in domain, ".\Username" can be specified. If the service application includes more than one service, leave ServiceStartName blank, and leave the Password property blank.

If the service type is not stWin32, ServiceStartName is the driver object name (\FileSytems\Rdr or \Driver\Xns) which the input and output system uses to load the device driver. With device drivers or file systems drivers, you can leave ServiceStartName blank and the I/O system will create a default name based on the service name.

Note: A dependency can be a service. If this is true, do not confuse the various name-related properties of dependency and service objects. For more information, see Service name properties.

See Also