Microsoft
70-573 · Question #62
You create custom code to import content to SharePoint sites. You create a custom site definition by using Microsoft Visual Studio 2010. You need to ensure that when a new site that uses the custom…
The correct answer is B. SPWebProvisioningProvider. MNEMONIC RULE: "new site created = SPWebProvisioningProvider" Provides a handler for responding to Web site creation. SPWebProvisioningProvider Class
Developing SharePoint Solutions
Question
You create custom code to import content to SharePoint sites. You create a custom site definition by using Microsoft Visual Studio 2010. You need to ensure that when a new site that uses the custom site definition is created, the custom code executes after the site is created. Which class should you add to the project?
Options
- ASPEmailEventReceiver
- BSPWebProvisioningProvider
- CSPItemEventReceiver
- DSPChangeFile
How the community answered
(36 responses)- A6% (2)
- B83% (30)
- C8% (3)
- D3% (1)
Explanation
MNEMONIC RULE: "new site created = SPWebProvisioningProvider" Provides a handler for responding to Web site creation. SPWebProvisioningProvider Class
Topics
#SPWebProvisioningProvider#site definition#site provisioning#event handling
Community Discussion
No community discussion yet for this question.