Compartir a través de


: Category.CreateCrawledProperty (Método) (Microsoft.Office.Server.Search.Administration)

Creates a crawled property for the category.

Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)

Sintaxis

'Declaración
Public Function CreateCrawledProperty ( _
    propertyName As String, _
    isNameEnum As Boolean, _
    propset As Guid, _
    variantType As Integer _
) As CrawledProperty
'Uso
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
)

Parámetros

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

Valor devuelto

A CrawledProperty object representing the crawled property that was created.

Vea también

Referencia

Category (Clase)
Category (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)