Share via


Category.CreateCrawledProperty Method

Creates a crawled property for the category.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function CreateCrawledProperty ( _
    propertyName As String, _
    isNameEnum As Boolean, _
    propset As Guid, _
    variantType As Integer _
) As CrawledProperty
'Usage
Dim instance As Category
Dim propertyName As String
Dim isNameEnum As Boolean
Dim propset As Guid
Dim variantType As Integer
Dim returnValue As CrawledProperty

returnValue = instance.CreateCrawledProperty(propertyName, _
    isNameEnum, propset, variantType)
public CrawledProperty CreateCrawledProperty(
    string propertyName,
    bool isNameEnum,
    Guid propset,
    int variantType
)

Parameters

  • propertyName
    Type: System.String
    A string that specifies the name for the crawled property.
  • isNameEnum
    Type: System.Boolean
    A Boolean value that specifies whether the crawled property name is enumerable.
  • propset
    Type: System.Guid
    A GUID that specifies the property set for the crawled property.
  • variantType
    Type: System.Int32
    A 32-bit integer that specifies the variant data type of the crawled property.

Return Value

Type: Microsoft.Office.Server.Search.Administration.CrawledProperty
A CrawledProperty object representing the crawled property that was created.

See Also

Reference

Category Class

Category Members

Microsoft.Office.Server.Search.Administration Namespace