nerdexam
Microsoft

70-573 · Question #197

You need to create a custom application that provides users with the ability to create a managed property. The managed property name must be specified in the args[1] parameter. You write the…

The correct answer is B. Dim properties As ManagedPropertyCollection =. See the full explanation below for the reasoning.

Question

You need to create a custom application that provides users with the ability to create a managed property. The managed property name must be specified in the args[1] parameter. You write the following code segment for the application. (Line numbers are included for reference only.) 02 Dim context As SearchContext = SearchContext.GetContext(currentSite) 03 Dim schema As New Schema(context) Which code segment should you add to the application?

Options

  • Acontext.SearchApplication.CrawlStores.Create(args(1))
  • BDim properties As ManagedPropertyCollection =
  • CDim properties As ManagedPropertyCollection =
  • Dschema.AllCategories.Create(args(1), Guid.NewGuid())

How the community answered

(59 responses)
  • A
    8% (5)
  • B
    75% (44)
  • C
    3% (2)
  • D
    14% (8)

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice