单项选择题
A.使用ServiceController类的机器名和服务名属性
B.使用ServiceController类的站点属性。
C.使用 ServiceInstaller 类的站点属性。
D.使用的服务名和显示名称属性ServiceInstaller 类。
单项选择题 为应用程序开发人员上班 Certkiller。 com。 您正在开发.NET 框架 2.0 Windows 服务指定将用于不断的 TestScannerSync 的应用程序扫描仪连接到计算机的显示器。 TestScannerSync 类继承及其功能ServiceBase 类。 当您连接扫描仪服务同步其数据与数据SQL Server 数据库中的数据。 您决定重写在 TestScannerSync 如上方法关闭数据库连接的类和写入代码。 您需要确定在代码中的位置,您可以打开到数据库的连接。 你应该做什么?()
单项选择题 为应用程序开发人员上班 Certkiller。 com。 Certkiller.com 作为其应用程序使用 Visual Studio.NET 2005开发平台。 您正在开发一个 Windows 窗体应用程序。你被要求要创建一个新的类引发大量的事件和保持尽可能低的内存使用的类。 必须完成此任务,使用代码的最小数量可能。 你应该做什么?()
单项选择题 You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application. You need to change the security context in which the service runs. The service will be run in context of a non-privileged user on the local computer and present anonymous credentials to any remote server. You are required to set the Account property of the ServiceProcessInstaller class to specify the service account. What should you do?()