Add code to the default constructor of the Service class to monitor the free space on the hard disk drive.
Add code to the OnStart method of the Service class to monitor the free space on the hard disk drive.
Add an instance of the System.Windows.Forms.Timer class to the Service class and configure it to fire every minute.
Add an instance of the System.Timers.Timer class to the Service class and configure it to fire every minute.
Add code to the OnStart method of the Service class to start the timer.
Add code to the Elapsed event handler of the timer to monitor the free space on the hard disk drive.
Add code to the Tick event handler of the timer to monitor the free space on the hard disk drive.
第1题:
第2题:
You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()
第3题:
You create a service and deploy it on a network in a building named Building1. You will deploy the service to Building2.The service in Building1 is configured using the following discovery scopes.The service in Building2 will be configured using the following discovery scopes.You need to ensure that the client application can discover the service in Building1 or the service in Building2.Which scopes should you add to the client configuration file? ()
A.
B.
C.
D.
第4题:
You have two servers that run Windows Server 2008 named Server1 and Server2. You install Windows SharePoint Services (WSS) 3.0 on Server1. You install the SMTP feature on Server2. You configure the outgoing e-mail settings on Server1 to use the SMTP service on Server2. You need to ensure that e-mail messages from Server1 are forwarded to users. What should you do?()
第5题:
You want to be notified when the space usage of an existing critical tablespace has reached 75% of the allocated space. Which option would you use to achieve this?()
第6题:
第7题:
You are creating a Web-based application to manage data aggregation for reports. The application connects to a SQL Server 2005 database named DataManager. One page in the application has controls that execute stored procedures in a database named ReportingDatabase. There is an existing Service Broker connection between the DataManager database and ReportingDatabase.You want to add two new message types to the existing service. In each database, you create message types named ProcessReport and SendResult. You need to add the two new message types to the existing service. What should you do first?()
第8题:
Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information Services (IIS).You create a new application in IIS to host this service and copy the service DLL to the bin directory of the application.You need to complete the deployment of this service to IIS. What should you do next?()
A. Create an asmx file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.
B. Create an .asmx file and add a @Register directive to this file. Copy the file to the bin directoyy of the application.
C. Create a svc file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.
D. Create a .svc file and add a @Register directive to this file. Copy the file to the bin directory of the application.
第9题:
Your company has a domain controller named Server1 that runs Windows Server 2008 and the DNS server role. A server named Server2 runs a custom application. You need to configure DNS to include the following parameters for the custom application: Service Priority Weight Protocol Port Number Host offering this service Which record should you create?()
第10题:
You have a server that runs Windows Server 2003 Service Pack 2 (SP2). A server application creates report files. The application saves the report files in a folder named Report. A service account is listed as the owner of all report files. You need to assign ownership of the report files to a user in a department named Audit. You must achieve this goal by using the minimum amount of administrative effort. What should you do? ()