Online Access Free 070-573 Exam Questions
| Exam Code: | 070-573 |
| Exam Name: | TS: Office SharePoint Server, Application Development (available in 2010) |
| Certification Provider: | Microsoft |
| Free Question Number: | 150 |
| Posted: | Dec 06, 2025 |
You need to add a new field to a provisioned content type.
You must propagate the field to child lists and child content types.
What should you use?
You have a Web application that contains the following code segment.
private void CreatingSPSite()
{ SPSite siteCollection = null;try{
siteCollection = new SPSite("http://contoso.com");
}
finally
{
}
}
You need to prevent the code segment from causing a memory leak.
Which code segment should you add?
You plan to create a workflow that has the following three activities:
CreateTask
OnTaskChanged
CompleteTask
You need to ensure that each time the workflow starts, the three activities are linked to a single task.
What should you do?
You need to disable the CriticalExceptionCount measure for all user solutions.
You write the following code segment. (Line numbers are included for reference only.)
01 SPUserCodeService userCode = SPUserCodeService.Local;
02 SPResourceMeasureCollection measures = userCode.ResourceMeasures;
03 SPResourceMeasure measure = measures["CriticalExceptionCount"];
04
05 measure.Update();
Which code segment should you add at line 04?