Schema.GetCrawledProperty 方法 (Microsoft.Office.Server.Search.Administration)

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

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Function GetCrawledProperty ( _
    propset As Guid, _
    name As String, _
    variantType As Integer _
) As CrawledProperty
用法
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
)

参数

  • propset
    A GUID that specifies the property set of the crawled property to retrieve.
  • name
    A string that specifies the name of the crawled property to retrieve.
  • variantType
    An integer that specifies the variant data type of the crawled property to retrieve.

返回值

A CrawledProperty object representing the crawled property that matches the property set, name, and data type values specified in the parameters.

另请参阅

参考

Schema 类
Schema 成员
Microsoft.Office.Server.Search.Administration 命名空间