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.)

Which code segment should you add at line 04?
A. string strQuery = "author:" + searchAuthor;
B. string strQuery = "docID:" + searchAuthor;
C. string strQuery = "SELECT Title, Rank, Write, Url FROM SCOPE() WHERE author = " + searchAuthor;
D. string strQuery = "SELECT Title, Rank, Write, Url FROM SCOPE() WHERE docID = " + searchAuthor;

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.