You create a Microsoft Windows SharePoint Services site that contains task lists.
You are creating a custom Search Web Part that displays the number of unassigned tasks on the site.
You need to retrieve a list of task items from within the Web Part for which the assignment field is empty.
What should you do?
A.
Create an instance of the FullTextSqlQuery class and pass a SQL string to the QueryText property.
B.
Create an instance of the KeywordQuery class and set the QueryText property to the value AssignedTo.
C.
Create an instance of the SPQuery class and pass a Collaborative Application Markup Language (CAML) string to the query property. Iterate through the task lists on the site and pass the query property to the SPList.GetItems method.
D.
Create an instance of the SPQuery class and pass a Collaborative Application Markup Language (CAML) string to the query property. Iterate through the task lists on the site and pass the SPQuery object to the SPList.GetItems method.