Category.GetCrawledProperty 方法 (Guid, String, Int32)

请注意:此 API 现在已过时。

返回该类别的已爬网的属性。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
<ObsoleteAttribute("VariantType is no longer supported. Use GetCrawledProperty(Guid,string) instead.")> _
Public Function GetCrawledProperty ( _
    propset As Guid, _
    propertyName As String, _
    variantType As Integer _
) As CrawledProperty
用法
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)
[ObsoleteAttribute("VariantType is no longer supported. Use GetCrawledProperty(Guid,string) instead.")]
public CrawledProperty GetCrawledProperty(
    Guid propset,
    string propertyName,
    int variantType
)

参数

  • propset
    类型:System.Guid

    指定的属性设置为该已爬网属性的 GUID。

  • propertyName
    类型:System.String

    一个字符串,指定的已爬网属性的名称。

  • variantType
    类型:System.Int32

    32 位整数,它指定变量数据类型。

返回值

类型:Microsoft.Office.Server.Search.Administration.CrawledProperty
已爬网的属性。

另请参阅

引用

Category 类

Category 成员

GetCrawledProperty 重载

Microsoft.Office.Server.Search.Administration 命名空间