Schema.GetCrawledProperty method (Guid, String, Int32)

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("VariantType is no longer supported. Use GetCrawledProperty(Guid, string) instead.")> _
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)
[ObsoleteAttribute("VariantType is no longer supported. Use GetCrawledProperty(Guid, string) instead.")]
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

GetCrawledProperty overload

Microsoft.Office.Server.Search.Administration namespace