RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService.LoadGroup Property

Names of the load ordering group that includes the service.

Pascal
property LoadGroup: String;
C++
__property AnsiString LoadGroup;

LoadGroup is the name of the load-ordering group that includes the service. This is used by other services that have dependencies on the load ordering group (See Dependencies). The registry lists load-ordering groups at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ServiceGroupOrder. The order in which services are loaded depends on the order of the load groups in the Registry and the dependencies listed in service Dependencies properties. 

Because services and service groups share the same name space, the SC_GROUP_IDENTIFIER character must prefix group names to distinguish them from service names. This is automatically prefixed if the TDependency's IsGroup property is true.

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!