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

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

Parameters

  • propset
    Type: System.Guid

    A GUID that specifies the property set for the crawled property.

  • propertyName
    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
The crawled property.

See Also

Reference

Category Class

Category Members

Microsoft.Office.Server.Search.Administration Namespace