Vcl.SvcMgr.TDependency.Name

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Name: String read FName write FName;

C++

__property System::UnicodeString Name = {read=FName, write=FName};

Properties

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

Description

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

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.

See Also