Which property should you use?

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?

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?

A.
SPSite.GetCustomWebTemplates(1033)[“DCS”].ProvisionClass

B.
SPWebApplication.DataRetrievalProvider

C.
SPWebProvisioningProperties.Data

D.
SPWebProvisioningProperties.Web.DataRetrievalServicesSettings

Explanation:
MNEMONIC RULE: “configuration data = SPWebProvisioningProperties.Data”

Gets custom data that is used in creating the Web site.

SPWebProvisioningProperties.Data Property
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spwebprovisioningproperties.data.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *