首页> 外文期刊>Windows Developer Network >Automating SQL Server with SQL DMO
【24h】

Automating SQL Server with SQL DMO

机译:使用SQL DMO自动化SQL Server

获取原文
获取原文并翻译 | 示例
       

摘要

There are many occasions in project de-velopment where you want your customers to rake some "secure" actions on your SQL Server. By secure I mean the action that is controlled by your software and where you decide what a particular user can or cannot do. For example, you may allow your customer to take a backup of the database only to a certain folder, such as c:temp. More importantly, you may want to block anyone from accessing your SQL Server while your application is running, even with ISQLW. All these actions are possible using SQL Server Enterprise Manager, but we want to do it ptogrammatically. In other words, we want to automate the SQL Server. That gives us a hint. Whenever you want to automate any Microsoft product, most likely it has an object model that exposes certain interfaces and lets you program those interfaces to our taste. For example, there is an object model for ADO, an object model for MS-DEV, and so on. Similarly, there is an object model for SQL Server, which is called SQL DMO or Distributed Management Objects. SQL DMO is a collection of objects encapsulating Microsoft SQL Server database and replication management.
机译:在项目开发中有很多情况下,您希望客户在SQL Server上采取一些“安全”的措施。安全是指由您的软件控制的操作,以及您决定特定用户可以做什么或不能做什么的地方。例如,您可以允许客户仅将数据库备份到某个文件夹,例如c:temp。更重要的是,您可能希望阻止任何人在应用程序运行时访问SQL Server,即使使用ISQLW。使用SQL Server企业管理器可以执行所有这些操作,但是我们希望以图形方式进行。换句话说,我们要自动化SQL Server。这给了我们一个提示。每当您想自动化任何Microsoft产品时,很可能它都有一个对象模型,该对象模型可以公开某些接口并允许您根据自己的喜好对这些接口进行编程。例如,有一个用于ADO的对象模型,一个用于MS-DEV的对象模型,等等。同样,有一个用于SQL Server的对象模型,称为SQL DMO或分布式管理对象。 SQL DMO是封装Microsoft SQL Server数据库和复制管理的对象的集合。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号