Difference between revisions of "ProcessShellRequest"
From RayHarwood
Rayharwood (Talk | contribs) (Created page with "When doing a command line argument setup, here is code for processing the request: Private Function ProcessShellRequest(ByVal TheArgs() As String, ByVal TheSource As Stri...") |
Rayharwood (Talk | contribs) |
||
| Line 27: | Line 27: | ||
Console.WriteLine("Shell request = " & ShellRequest) | Console.WriteLine("Shell request = " & ShellRequest) | ||
Select Case ShellRequest | Select Case ShellRequest | ||
| + | ' Some items removed from examples... | ||
Case "db", "database" | Case "db", "database" | ||
LogDBinfo() | LogDBinfo() | ||
| Line 33: | Line 34: | ||
My.Settings.ITSec_ConnString_RunTime = My.Settings.ITSec_Test_ConnString | My.Settings.ITSec_ConnString_RunTime = My.Settings.ITSec_Test_ConnString | ||
LogDBinfo() | LogDBinfo() | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Case "send_email_notices" | Case "send_email_notices" | ||
Dim SEN As New EmailNotices | Dim SEN As New EmailNotices | ||
SEN.Send_Email_Notices(LogFile) | SEN.Send_Email_Notices(LogFile) | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Case "get_active_imports", "run_active_imports" | Case "get_active_imports", "run_active_imports" | ||
Process_Run_Active_Imports(ArgArray) | Process_Run_Active_Imports(ArgArray) | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Case "get_ad_account_info" | Case "get_ad_account_info" | ||
Process_Get_AD_Account_Info(ArgArray) | Process_Get_AD_Account_Info(ArgArray) | ||