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. 01 SPSite currentSite = new SPSite(“http://intranet”);
02 SearchContext context = SearchContext.GetContext(currentSite); 03 Schema schema = new
Schema(context); Which code segment should you add to the application?
A.
ManagedPropertyCollection properties = schema.AllManagedProperties; ManagedProperty
newMng = properties.Create(args[1], ManagedDataType.Text);
B.
ManagedPropertyCollection properties = schema.AllManagedProperties; ManagedProperty
newMng = properties.CreateCrawlMonProperty(); newMng.Name = args[1];
C.
context.SearchApplication.CrawlStores.Create(args[1]);
D.
schema.AllCategories.Create(args[1], Guid.NewGuid());