Windows Server 2008 VB.NET SQL查询计划的任务 [英] Windows Server 2008 VB.NET SQL query scheduled task

查看:110
本文介绍了Windows Server 2008 VB.NET SQL查询计划的任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我想构建一个vb.net脚本,该脚本应由Windows Task Service开始.例如::脚本应该每天开始,并应该查看特定的sql server数据库,然后应生成并发送邮件.

如果有人可以帮助我,那将非常棒

谢谢!
干杯

Hi everyone!

I would like to build a vb.net script which should get started by windows task service. eg.: every day the script should get started and should take a look in a specific sql server database and after that a mail should be generated and sent.

Would be awesome if someone can help me with that

Thanks!
Cheers

推荐答案

Windows服务!可以满足您的要求.

样本:
发送自动电子邮件警报的简单Windows服务 [ Windows服务应用程序简介 [简单Windows服务示例 [您的第一个C#Web服务 [ Windows Services in Action I [
Windows Service! should do what you seek.

Sample:
Simple Windows Service which sends auto Email alerts[^]

MSDN: Details about Windows Service:
Introduction to Windows Service Applications[^]

For more details, look here:
Simple Windows Service Sample[^]
Your first C# Web Service[^]
Windows Services in Action I[^]


这篇关于Windows Server 2008 VB.NET SQL查询计划的任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆