使用sql db作为服务名称安装多个Windows服务多个实例 [英] install multiple windows service multiple instance using sql db for service name

查看:53
本文介绍了使用sql db作为服务名称安装多个Windows服务多个实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须阅读一个sql db获取数据,然后我必须安装Windows服务实例,使其与表中的行数一样多,这意味着我必须遍历数据以获取Windows服务每个实例的配置.




感谢您的帮助

I have to read a sql db get the data then I have to install the windows service instances as many as there are rows in the table which means I have to iterate through the data to get the configuration for each instance of windows service.




Thanks for your help

推荐答案

这些链接应该可以帮助您入门:

http://www.tech-archive.net/存档/VB/microsoft.public.vb.winapi/2006-08/msg00238.html [通过C#访问SQL Server的入门指南 [ ^ ]
These links should get you started:

http://www.tech-archive.net/Archive/VB/microsoft.public.vb.winapi/2006-08/msg00238.html[^]
There is code in here to programatically install a service from C#


Beginners guide to accessing SQL Server through C#[^]


这篇关于使用sql db作为服务名称安装多个Windows服务多个实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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