SetSyncRegistryProperties – PB Docs 126

SetSyncRegistryProperties PowerScript function

Description

Sets
synchronization properties in the local machine registry.

Controls

MLSynchronization, MLSync controls

Syntax

Argument

Description

syncObject

The name of the synchronization object.

Return Values

Integer. Returns 1 for success and -1
for failure.

Usage

If necessary, the SetSyncRegistryProperties function
can create a key in the Windows registry from the value of the SyncRegistryKey
property of the synchronization object. Failure occurs if the SyncRegistryKey
property is not set in the synchronization object.

Examples

The MLSync object generated by the MobiLink wizard
for SQL Anywhere uses the following code in its Constructor event:

This code sets the values of authentication properties in
the Windows registry when the build number of the running application
is higher than the build number in the registry (or when the build
number in the registry cannot be found).

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x