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

SetParm – PB Docs 126 – PowerBuilder Library

SetParm – PB Docs 126

SetParm PowerScript function

Description

Sets the parameters
to send to the MobiLink synchronization server.

Controls

MLSynchronization, MLSync controls

Syntax

Argument

Description

syncObject

The name of the synchronization object.

syncparm

A structure of type SyncParm containing
property values that can be set as synchronization parameters.

Return Values

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

Examples

The code fragment below creates an instance of an
MLSync object and programmatically populates all of the necessary
properties—as well as some optional properties—using
an instance of the system SyncParm structure. Then it calls the
Synchronize function to start the database synchronization.

note.png Maintaining property settings in the MLSync object

Normally when you call SetParm(SyncParm)
from an MLSync object, you automatically override any authentication
values (AuthenticateParms, Datasource, DBUser, DBPass, EncryptionKey,
MLUser, and MLPass) that you set for properties of the MLSync object—even
when the value of a particular SyncParm property is an empty string.
However, if you call SetNull to set a particular
property of the SyncParm object to NULL before you call SetParm, the
property value in the MLSync object will be used instead.

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