Category members

Represents a category in the SharePoint Server search metadata property schema.

The Category type exposes the following members.

Properties

  Name Description
Public property AutoCreateNewManagedProperties Gets or sets a Boolean value indicating if new managed properties should be created automatically for the crawled properties in a category.
Public property CrawledPropertyCount Gets the number of crawled properties for a category.
Public property DiscoverNewProperties Gets or sets a Boolean value that indicates if the crawler should automatically discover crawled properties with every crawl.
Public property FullTextQueriable Gets or sets a Boolean value that indicates if the property values for the category are stored in the full-text index.
Public property MapToContents Gets or sets a Boolean value indicating if all string crawled properties are mapped to content.
Public property MatchExistingManagedProperty This property is not in use and should be ignored.
Public property MatchIgnorePrefix This property is not in use and should be ignored.
Public property MatchIgnoreSuffix This property is not in use and should be ignored.
Public property MaxIndexedStringLength This property is not in use and should be ignored.
Public property MaxNonIndexedStringLength This property is not in use and should be ignored.
Public property MultipleValues Gets or sets if multiple values should be supported for managed properties created automatically based on this category.
Public property Name Gets or sets the name of a category.
Public property Queryable Gets or sets if managed properties created automatically based on this category can be queried.
Public property Retrievable Gets or sets a Boolean value that indicates if the property values for the category are stored in the Property Store database.
Public property Scoped Gets or sets if scoping should be enabled for managed properties created automatically based on this category

Top

Methods

  Name Description
Public method Contains Returns a Boolean value that indicates if the category contains any crawled properties for the specified property set.
Public method CreateCrawledProperty(String, Boolean, Guid) Creates a crawled property in this category.
Public method CreateCrawledProperty(String, Boolean, Guid, Int32) Obsolete. Creates a crawled property for the category.
Public method CreateOrGetCrawledProperty(String, Boolean, Guid) Creates or returns a crawled property for a category.
Public method CreateOrGetCrawledProperty(String, Boolean, Guid, Int32) Obsolete. Creates or returns a crawled property for a category.
Public method Delete Deletes the category in the search schema.
Public method DeleteUnmappedProperties Deletes all crawled properties that are not mapped to managed properties for a category.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAllCrawledProperties Returns an enumerator that iterates through the category's crawled properties.
Public method GetCrawledProperty(Guid, String) Finds a crawled property.
Public method GetCrawledProperty(Guid, String, Int32) Obsolete. Returns a crawled property for the category.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetUnmappedCrawledProperties Returns an enumerator that iterates through the category's unmapped crawled properties.
Protected method MemberwiseClone (Inherited from Object.)
Public method QueryCrawledProperties Returns an enumerator that iterates through the category's crawled properties that match the specified parameters.
Public method ToString (Inherited from Object.)
Public method Update Updates the Search service application’s schema with changes made to the category.

Top

See also

Reference

Category class

Microsoft.Office.Server.Search.Administration namespace