Schema.GetCrawledProperty 方法 (Guid, String, Int32)
请注意:此 API 现在已过时。
返回一个CrawledProperty对象,该对象表示从Search service 应用程序的架构的已爬网的属性。
命名空间: 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, _
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)
[ObsoleteAttribute("VariantType is no longer supported. Use GetCrawledProperty(Guid, string) instead.")]
public CrawledProperty GetCrawledProperty(
Guid propset,
string name,
int variantType
)
参数
propset
类型:System.Guid指定的属性的 GUID 的已爬网属性设置为检索。
name
类型:System.String一个字符串,指定要检索的已爬网属性的名称。
variantType
类型:System.Int32一个整数,指定要检索的已爬网属性变量数据类型。
返回值
类型:Microsoft.Office.Server.Search.Administration.CrawledProperty
表示属性组相匹配的已爬网的属性的CrawledProperty对象,名称和数据类型的参数中指定的值。