RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDependency.Name Property

Identifies the dependent service or load ordering group used by a TService object.

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

Name is the name identifying the service or load ordering group. If Name is the name of a service, Name reflects the actual ServiceStartName of a TService instance. 

The property editor for the Dependencies property of TService technically uses the dependency's DisplayName to identify the dependency service in its collection list. However, Name and DisplayName are nearly always the same. 

Dependency objects that are load ordering groups are prefixed by SC_GROUP_IDENTIFIER. Setting the IsGroup property handles prefixing the Name automatically.

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.
 

 

DisplayName 

LoadGroup 

TService

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!