Home » Microsoft » 70-488 » Which two actions should you perform?
You must upgrade the existing version of the application to a newer version.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)
A. Add the following code segment at line CX11:
B. Add the following code segment at CX13:
C. Use Microsoft Visual Studio to change the feature version to 1.5.0.0.
D. Use Microsoft Visual Studio to change the feature version to 1.5.
E. Add the following code segment at line CX11:
Correct Answer: BC
Explanation/Reference:
B: VersionRange Element specifies a range of previous versions of the Feature to which the upgrade actions should apply.
/ BeginVersion: Specifies the earliest version number to which the child upgrade elements will apply, in the format n.n.n.n, where each n can be up to four digits.
/ EndVersion: Specifies the earliest version number to which the upgrade will not apply. The format is n.n.n.n, where each n can be up to four digits.
C: Feature versions in Microsoft SharePoint Foundation are used to trigger Feature upgrade. If you update your Feature version but do not specify any Feature upgrade logic in the Feature.xml file, when the Feature upgrade runs, it simply updates the version number of your Feature. However, if you specify Feature upgrade logic, the upgrade code is executed and the version number is automatically updated as well.
Scenario: New Features
The first version (1.0.0.0) of the feature must support the addition of newer functionality when the feature is upgraded to version 1.5.0.0.
Reference: VersionRange Element (Feature); Best Practices for Using Feature Versions