70-573 試験問題を無料オンラインアクセス
試験コード: | 70-573 |
試験名称: | TS: Office SharePoint Server, Application Development (available in 2010) |
認定資格: | Microsoft |
無料問題数: | 150 |
更新日: | 2025-08-23 |
You create a Feature named Feature1. Feature1 is activated in a SharePoint site. You create a Web Part that contains the following code.
SPSite site = new SPSite("http://intranet/site1");
SPWeb web = site.OpenWeb();
SPFeatureDefinition feature = SPFarm.Local.FeatureDefinitions["Feature1"];
You need to modify the Web Part to activate Feature1 in Site1 only. Which code segment should you add to the Web Part?
You have a list named Projects that contains a column named ClassificationMetadata.
You need to create a Web Part that updates the ClassificationMetadata value to NA for each item in the Projects list.
You write the following code segment. (Line numbers are included for reference only.)
01 foreach (SPListItem currentItem in SPContext.Current.Web.Lists
["Projects"].Items)
02 {
03
04 }
Which code segment should you add at line 03?
You need to create a Web Part that creates a copy of the out-of-the-box Contribute permission level.
Which code segment should you implement 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?