SyncAppsEx
This command is similar to Server.SyncApps except that it includes a parameter to set an error message.
Group: Server Extensions
Syntax: [bOK = ] Server.SyncAppsEx([vProfile])
bOK (Boolean) Optional – returns True or False for the success of the command
vProfile (String) Optional – is the name of the profile used to compare what is on the device with the server list of objects.
[ErrMsg] Optional – if an error occurs this parameter will be sent to a detailed error message
Example:
Dim bOK As Boolean
Dim sErr As String
bOK = Server.SyncAppsEx("CEProfile1", sErr)
If bOK = False Then
App.MsgBox(sErr)
End If