목차
[bin]
[obj]
[Properties]
App.config
Program.cs
ProjectInstaller.cs
ProjectInstaller.Designer.cs
ProjectInstaller.resx
readme.txt
ServiceInstallers.cs
ServiceInstallers.csproj
ServiceInstallers.Designer.cs
ServiceInstallers.v11.suo
ServiceInstallers.v12.suo
파일 22, 폴더 6
148KB
[obj]
[Properties]
App.config
Program.cs
ProjectInstaller.cs
ProjectInstaller.Designer.cs
ProjectInstaller.resx
readme.txt
ServiceInstallers.cs
ServiceInstallers.csproj
ServiceInstallers.Designer.cs
ServiceInstallers.v11.suo
ServiceInstallers.v12.suo
파일 22, 폴더 6
148KB
본문내용
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Web.Security;
using System.IO;
namespace ServiceInstallers
{
///
/// 동기화 서비스
///
public partial class ServiceInstallers : ServiceBase
{
#region [ #. 전역 변수 .# ]
protected System.Timers.Timer timer;
///
/// DB ConnectionString
///
private string ConnectionString = string.Empty;
///
/// 동기화 실행 시간
///
private string SyncHour = ConfigurationManager.AppSettings.Get("SyncHour");
///
/// 즉시 실행 여부
///
private string immediately = ConfigurationManager.AppSettings.Get("Immediately");
#endregion
#region [ #. 생성자 .# ]
///
/// 생성자
///
public ServiceInstallers()
{
InitializeComponent();
}
#endregion
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Web.Security;
using System.IO;
namespace ServiceInstallers
{
///
/// 동기화 서비스
///
public partial class ServiceInstallers : ServiceBase
{
#region [ #. 전역 변수 .# ]
protected System.Timers.Timer timer;
///
/// DB ConnectionString
///
private string ConnectionString = string.Empty;
///
/// 동기화 실행 시간
///
private string SyncHour = ConfigurationManager.AppSettings.Get("SyncHour");
///
/// 즉시 실행 여부
///
private string immediately = ConfigurationManager.AppSettings.Get("Immediately");
#endregion
#region [ #. 생성자 .# ]
///
/// 생성자
///
public ServiceInstallers()
{
InitializeComponent();
}
#endregion
소개글