Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Server Administration » MobiLink Server System Procedures » MobiLink system procedures

ml_add_lang_connection_script_chk Next Page

ml_add_property


Use this system procedure to add or delete MobiLink properties. This system procedure changes rows in the ml_property MobiLink system table.

Parameters

Item

Description

Remarks

1

component name

VARCHAR(128)

2

prop_set_name

VARCHAR(128)

3

property name

VARCHAR(128)

4

property value

LONG VARCHAR. For Oracle, this parameter is CLOB.

Remarks
Server-initiated synchronization

For server-initiated synchronization, the ml_add_property system procedure allows you to set properties for Notifiers, gateways, and carriers.

For example, to add the property server=mailserver1 for an SMTP gateway called x:

ml_add_property( 'SIS','SMTP(x)','server','mailserver1');

The verbosity property applies to all Notifiers and gateways, and so you cannot specify a particular prop_set_name. To change the verbosity setting, leave the prop_set_name blank:

ml_add_property( 'SIS','','verbosity',2);

See Setting properties and MobiLink Notification Properties.

Script Version

For regular MobiLink synchronization, you can use this system procedure to associate properties with a script version. In this case, set the component_name to ScriptVersion. You can specify whatever properties you like, and use Java and .NET classes to access them.

For example, to associate an LDAP server with a script version called MyVersion:

ml_add_property( 'ScriptVersion','MyVersion','ldap-server','MyServer' )
See also