RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Mtx.CreateSharedPropertyGroupManager Function

Returns an interface for a new shared property group manager that creates and coordinates shared properties of MTS objects.

Pascal
function CreateSharedPropertyGroupManager: ISharedPropertyGroupManager;
C++
ISharedPropertyGroupManager CreateSharedPropertyGroupManager();

Call CreateSharedPropertyGroupManager before creating shared property groups if you are not using the CreateSharedPropertyGroup function. The ISharedPropertyGroupManager interface lets you create and access shared properties with more control that is provided by CreateSharedPropertyGroup

By using shared property groups, you eliminate name collisions because they establish unique name spaces for the shared properties they contain. The Shared Property Manager also implements locks and semaphores to protect shared properties from simultaneous access, which could result in lost updates and could leave the properties in an unpredictable state. 

For more information about the ISharedPropertyGroupManager interface, see the MTS documentation. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!