Which code segment should you add at line 03?

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 03?
A. string strQuery = "author:" + searchAuthor;
B. string strQuery = "docID:" + searchAuthor;
C. string strQuery = "SELECT Title,Author,Path FROM SCOPE() WHERE author = ‘" + searchAuthor + "’";
D. string strQuery = "SELECT Title,Creator,Path 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.