Category.GetCrawledProperty - Méthode (Guid, String)

Recherche une propriété analysée.

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Public Function GetCrawledProperty ( _
    propset As Guid, _
    propertyName As String _
) As CrawledProperty
'Utilisation
Dim instance As Category
Dim propset As Guid
Dim propertyName As String
Dim returnValue As CrawledProperty

returnValue = instance.GetCrawledProperty(propset, _
    propertyName)
public CrawledProperty GetCrawledProperty(
    Guid propset,
    string propertyName
)

Paramètres

  • propset
    Type : System.Guid

    GUID qui spécifie la propriété définie pour la propriété analysée.

  • propertyName
    Type : System.String

    Le nom de la propriété analysée.

Valeur renvoyée

Type : Microsoft.Office.Server.Search.Administration.CrawledProperty
Un objet CrawledProperty qui représente la propriété analysée.

Exceptions

Exception Condition
UnauthorizedAccessException

Si l'utilisateur ne dispose pas des privilèges requis.

DatabaseException

S'il existe une erreur d'interrogation de la base de données.

ObjectNotFoundException

Si le jeu de propriétés ou de la propriété analysée est inconnue.

Voir aussi

Référence

Category classe

Category - Membres

GetCrawledProperty - Surcharge

Microsoft.Office.Server.Search.Administration - Espace de noms