Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetSyncRegistryProperties – PB Docs 150 – PowerBuilder Library

GetSyncRegistryProperties – PB Docs 150

GetSyncRegistryProperties PowerScript function

Description

Returns
an integer to determine whether to use synchronization properties saved
in the registry.

Controls

MLSyncrhonization, MLSync controls

Syntax

Argument

Description

syncObject

The name of the synchronization object.

Return Values

Integer. Returns 1 for success and -1
for failure. Failure occurs if SyncRegistryKey property is not set
or if the key does not exist in the Windows registry.

Usage

The GetSyncRegistryProperties function
sets synchronization object properties from values stored in the
registry. The properties it can set include: AdditionalOpts, DownloadOnly,
ExtendedOpts, Host, LogFileName, LogOpts, MLServerVersion, MLUser,
ObjectRevision, Port, Publication, UploadOnly, UseLogFile, and UseWindow.

It cannot set secured properties such as AuthenticateParms,
DBPass, and EncryptionKey that are never saved to the Windows registry.

Examples

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

This code gets the values of authentication properties stored
in the Windows registry only if the build number stored in the registry
is higher than the build number of the running application.

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