JobRunner: add option to disable Firebird sync

This commit is contained in:
Jonathan Jenne
2019-04-30 16:54:04 +02:00
parent 50d205717f
commit 7d1c2ced5a
4 changed files with 24 additions and 6 deletions

View File

@@ -105,6 +105,14 @@ Public Class JobRunner
oADJobArgs.RootPath = oArgs.Item("RootPath")
End If
If oArgs.ContainsKey("DisableFirebird") AndAlso oArgs.Item("DisableFirebird") = "True" Then
oFirebird = Nothing
End If
If oArgs.ContainsKey("DisableMSSQL") AndAlso oArgs.Item("DisableMSSQL") = "True" Then
oMSSQL = Nothing
End If
Dim oADSyncJob As New ADSyncJob(oLogConfig, oFirebird, oMSSQL)
oADSyncJob.Start(oADJobArgs)