Share via


Category.GetCrawledProperty Method

Returns 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 GetCrawledProperty ( _
    propset As Guid, _
    categoryName As String, _
    variantType As Integer _
) As CrawledProperty
'Usage
Dim instance As Category
Dim propset As Guid
Dim categoryName As String
Dim variantType As Integer
Dim returnValue As CrawledProperty

returnValue = instance.GetCrawledProperty(propset, _
    categoryName, variantType)
public CrawledProperty GetCrawledProperty(
    Guid propset,
    string categoryName,
    int variantType
)

Parameters

  • propset
    Type: System.Guid
    A GUID that specifies the property set for the crawled property.
  • categoryName
    Type: System.String
    A string that specifies the name of the crawled property.
  • variantType
    Type: System.Int32
    A 32-bit integer that specifies the variant data type.

Return Value

Type: Microsoft.Office.Server.Search.Administration.CrawledProperty
A [Microsoft.Office.Server.Search.Administration.CrawledProperty] object that represents the crawled property.

See Also

Reference

Category Class

Category Members

Microsoft.Office.Server.Search.Administration Namespace