System.Win.ComServ.TComServer.SetServerName
Delphi
procedure SetServerName(const Name: string);
C++
void __fastcall SetServerName(const System::UnicodeString Name);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Win.ComServ.pas System.Win.ComServ.hpp |
System.Win.ComServ | TComServer |
Description
Sets the ServerName property.
Call SetServerName to provide a name for the server. If the server has an associated type library (the TypeLib property is nil for Delphi or NULL for C++), SetServerName does nothing, because the name for the server must match the name specified in the type library.