Microsoft
70-576 · Question #82
You are planning to store some custom configuration settings in a SharePoint 2010 farm. A set of key-value pairs must be saved and retrieved for several subsites within a web pplication. You need to…
The correct answer is D. Programmatically store the values in the property bag of the SPWeb object. See the full explanation below for the reasoning.
Question
You are planning to store some custom configuration settings in a SharePoint 2010 farm. A set of key-value pairs must be saved and retrieved for several subsites within a web pplication. You need to ensure that the key-value settings are stored for each subsite. Which approach should you recommend?
Options
- ADeclaratively store the values in the web.config file for the web application.
- BDeclaratively store the values in a custom list in the site collection that contains the subsites.
- CProgrammatically store the values in the property bag of the SPFile object.
- DProgrammatically store the values in the property bag of the SPWeb object.
How the community answered
(61 responses)- A7% (4)
- B13% (8)
- C3% (2)
- D77% (47)
Community Discussion
No community discussion yet for this question.