70-573 · Question #210
You create a custom site definition named DCS. You create a site provision handler for DCS. DCS contains a file named DCSTemplate.xsd that stores configuration data. You need to read the content of…
The correct answer is C. SPWebProvisioningProperties.Data. MNEMONIC RULE: "configuration data = SPWebProvisioningProperties.Data" Gets custom data that is used in creating the Web site. SPWebProvisioningProperties.Data Property us/library/microsoft.sharepoint.spwebprovisioningproperties.data.aspx
Question
You create a custom site definition named DCS. You create a site provision handler for DCS. DCS contains a file named DCSTemplate.xsd that stores configuration data. You need to read the content of DCSTemplate.xsd in the site provision handler. Which property should you use?
Options
- ASPSite.GetCustomWebTemplates(1033)["DCS"].ProvisionClass
- BSPWebApplication.DataRetrievalProvider
- CSPWebProvisioningProperties.Data
- DSPWebProvisioningProperties.Web.DataRetrievalServicesSettings
How the community answered
(26 responses)- A12% (3)
- B4% (1)
- C77% (20)
- D8% (2)
Explanation
MNEMONIC RULE: "configuration data = SPWebProvisioningProperties.Data" Gets custom data that is used in creating the Web site. SPWebProvisioningProperties.Data Property us/library/microsoft.sharepoint.spwebprovisioningproperties.data.aspx
Topics
Community Discussion
No community discussion yet for this question.