Skip to main content
Table of Contents

TTMSMCPAttributedServer.AutoRegister Property

Determines whether the reflection pass runs automatically when the server initializes.

API unit family: TMS.MCP.Attributes.Server Declaring type: TTMSMCPAttributedServer Type: Boolean

Syntax

TMS.MCP.Attributes.Server.hppPascalC++
property AutoRegister: Boolean;
__property bool AutoRegister = {read=FAutoRegister, write=FAutoRegister, default=1};

Default: True

Remarks

True, the default, registers the declarations of all targets as the server starts, which is what a target set up at design time needs. Set it to False to keep the published collections under manual control; adding a target through the server still registers it.