Category.GetCrawledProperty method (Guid, String, Int32)
NOTE: This API is now obsolete.
Returns a crawled property for the category.
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, _
propertyName As String, _
variantType As Integer _
) As CrawledProperty
'Usage
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
)
Parameters
propset
Type: System.GuidA GUID that specifies the property set for the crawled property.
propertyName
Type: System.StringA string that specifies the name of the crawled property.
variantType
Type: System.Int32A 32-bit integer that specifies the variant data type.
Return value
Type: Microsoft.Office.Server.Search.Administration.CrawledProperty
The crawled property.