Partilhar via


Schema.GetCrawledProperty Method

Returns a CrawledProperty object representing a crawled property from the Search service application's schema.

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

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

Parameters

  • propset
    Type: System.Guid

    A GUID that specifies the property set of the crawled property to retrieve.

  • name
    Type: System.String

    A string that specifies the name of the crawled property to retrieve.

  • variantType
    Type: System.Int32

    An integer that specifies the variant data type of the crawled property to retrieve.

Return Value

Type: Microsoft.Office.Server.Search.Administration.CrawledProperty
A CrawledProperty object representing the crawled property that matches the property set, name, and data type values specified in the parameters.

See Also

Reference

Schema Class

Schema Members

Microsoft.Office.Server.Search.Administration Namespace