70-573 · Question #47
You need to create a timer job that queries a list. What should you do?
The correct answer is A. Create a class that inherits SPJobDefinition and override the Execute method. MNEMONIC RULE: "Execute timer job" Next, and the most important thing, is to override Execute() method. This method is called each time when thejob is fired, so it should contain all the logic to accomplish what You expect from the SPJobDefinition as the way to create scheduled…
Question
You need to create a timer job that queries a list. What should you do?
Options
- ACreate a class that inherits SPJobDefinition and override the Execute method.
- BCreate a class that inherits SPServiceApplicationand override the Provision method.
- CCreate a class that inherits SPServiceApplicationand override the Provisionlnstances method.
- DCreate a class that inherits SPJobDefinition and override the Provision method.
How the community answered
(42 responses)- A81% (34)
- B12% (5)
- C5% (2)
- D2% (1)
Explanation
MNEMONIC RULE: "Execute timer job" Next, and the most important thing, is to override Execute() method. This method is called each time when thejob is fired, so it should contain all the logic to accomplish what You expect from the SPJobDefinition as the way to create scheduled tasks
Topics
Community Discussion
No community discussion yet for this question.