Datasnap.Win.ObjBrkr.TServerItem.Enabled

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Datasnap.Win.ObjBrkr.pas
Datasnap.Win.ObjBrkr.hpp
Unit: Datasnap.Win.ObjBrkr
Parent: TServerItem

Delphi

property Enabled: Boolean read FEnabled write FEnabled default True;

C++

__property bool Enabled = {read=FEnabled, write=FEnabled, default=1};

Description

Enables or disables the server item.

Set Enabled to indicate whether the server should made available in the simple object broker. When Enabled is true, the ComputerName property can be supplied to connection components by the object broker's GetComputerForGUID or GetComputerForProgID methods. When Enabled is false, the server item is not returned.

Note: Even when the server item is disabled, it is still returned by TServerCollection's FindServer method.

See Also