Category.CreateOrGetCrawledProperty, méthode (Microsoft.Office.Server.Search.Administration)
Creates or returns a crawled property for a category.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)
Syntaxe
'Déclaration
Public Function CreateOrGetCrawledProperty ( _
propertyName As String, _
isNameEnum As Boolean, _
propset As Guid, _
variantType As Integer _
) As CrawledProperty
'Utilisation
Dim instance As Category
Dim propertyName As String
Dim isNameEnum As Boolean
Dim propset As Guid
Dim variantType As Integer
Dim returnValue As CrawledProperty
returnValue = instance.CreateOrGetCrawledProperty(propertyName, isNameEnum, propset, variantType)
public CrawledProperty CreateOrGetCrawledProperty (
string propertyName,
bool isNameEnum,
Guid propset,
int variantType
)
Paramètres
- propertyName
A string that specifies the name for the crawled property.
- isNameEnum
A Boolean value that specifies whether the crawled property name is enumerable.
- propset
A GUID that specifies the property set for the crawled property.
- variantType
A 32-bit integer that specifies the variant data type of the crawled property.
Valeur de retour
A CrawledProperty object representing the crawled property created or returned for the category.
Voir aussi
Référence
Category, classe
Membres Category
Microsoft.Office.Server.Search.Administration, espace de noms