nerdexam
Microsoft

70-573 · Question #34

70-573 Question #34: Real Exam Question with Answer & Explanation

Sign in or unlock 70-573 to reveal the answer and full explanation for question #34. The question stem and answer options stay visible for context.

Question

You need to create a Web Part that displays all content created by a specific user. You write the following code segment. (Line numbers are included for reference only.) 01 privace void keywordQueryExecute (string searchAuthor ) 02 { 03 KeywordQuery kRequest = new KeywordQuery ( ServerContexc.Current ) ; 04 05 kPequest.QueryText = strQuery ; 06 ResultTableCollection resultTbls = kRequest.Execute () ; 07 } Which code segment should you add at line 04?

Options

  • Astring strQuery - "SELECT Title, Rank, Write, Url FROM SCOPE()
  • Bstring strQuery = "author:" + searchAuthor;
  • Cstring strQuery = "SELECT Title, Rank, Write, Url FROM SCOPE ()
  • Dstring strQuery * " doc ID:" + searchAuthor ;

Unlock 70-573 to see the answer

You've previewed enough free 70-573 questions. Unlock 70-573 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-573 Practice