Use this system procedure to add or delete MobiLink properties. This system procedure changes rows in the ml_property MobiLink system table.
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. |
component name You can create records for which this parameter is ScriptVersion or SIS.
To save properties by script version, set this parameter to ScriptVersion. For server-initiated synchronization properties, set this parameter to SIS. For more information, see Setting properties.prop_set_name If the component name is ScriptVersion, then this parameter is the name of the script version.
If the component name is SIS, then this parameter is the name of the Notifier, gateway, or carrier that you are setting a property for.property name This parameter is the name of the property.
If the component name is ScriptVersion, then this parameter is a property that you define. You reference these properties using the following methods:from DBConnectionContext: getVersion and getProperties
from ServerContext: getPropertiesByVersion, getProperties, and getPropertySetNames
property value This parameter is the value of the property.
To delete a property, set the property value parameter to NULL.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.
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' )