70-573 무료 덤프문제 온라인 액세스
| 시험코드: | 70-573 |
| 시험이름: | TS: Office SharePoint Server, Application Development (available in 2010) |
| 인증사: | Microsoft |
| 무료 덤프 문항수: | 150 |
| 업로드 날짜: | 2026-11-19 |
You are creating an application.
You develop a custom control that renders a contextual tab. The control contains the following code segment. (Line numbers are included for reference only.)
01 protected override void OnPreRender(EventArgs e)
02 {
03 SPRibbon curRibbon = SPRibbon.GetCurrent(this.Page);
04
05 curRibbon.MakeContextualGroupInitiallyVisible("SP.Ribbon.ContextualGroup",
string.Empty);06 base.OnPreRender(e);07 }
You need to ensure that when the custom control is rendered, the custom contextual tab appears in the Ribbon.
Which code segment should you add at line 04?
You need to create a Web Part that displays all of the content created by a specific user. You write the following code segment. (Line numbers are included for reference only.)
01 FullTextSqlQuery qry = new FullTextSqlQuery(ServerContext.GetContext
(SPContext.Current.Site));
02 qry.ResultTypes = ResultType.RelevantResults;
03
04 qry.QueryText = strQuery;
05 ResultTableCollection results = qry.Execute();
Which code segment should you add at line 03?
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 custom Web Part that is deployed as a sandboxed solution.
You need to ensure that the Web Part can access the local file system on a SharePoint server. You must
minimize the amount of privileges assigned to the Web Part.
What should you do?