070-573 試験問題を無料オンラインアクセス
| 試験コード: | 070-573 |
| 試験名称: | TS: Office SharePoint Server, Application Development (available in 2010) |
| 認定資格: | Microsoft |
| 無料問題数: | 150 |
| 更新日: | 2026-10-18 |
You create a SharePoint solution that contains two Features named Feature1 and Feature2.
You need to ensure that Feature1 is always activated before Feature2. You must achieve this goal by
using the minimum amount of development effort.
What should you do?
You have a SharePoint site collection. The root Web of the site collection has the URL http://intranet.
You plan to create a user solution that will contain a Web Part. The Web Part will display the title of the root Web.
You write the following code segment for the Web Part. (Line numbers are included for reference only.)
01 SPSite currentSite = new SPSite("http://intranet");
02
03 Label currentTitle = new Label();
04 currentTitle.Text = currentSite.RootWeb.Title;
You add the Web Part to a page in the root Web and receive the following error message: "Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred."
You need to prevent the error from occurring.
What should you do?
You create a Web Part that updates a list.
You need to ensure that users can use the Web Part to update the list, regardless of the users'
permissions to the list.
What should you use in the Web Part?
You develop a custom approval workflow. The workflow uses the CreateTask class to assign tasks to a
user named User1.
A list called Tasks stores the tasks. Other workflows and users use the Tasks list.
You need to ensure that the tasks assigned to User1 can only be viewed by User1.
What should you do?