nerdexam
Microsoft

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

Developing SharePoint Sites

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)
  • A
    12% (3)
  • B
    4% (1)
  • C
    77% (20)
  • D
    8% (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

#site definition#site provision handler#SPWebProvisioningProperties#custom templates

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice