Compartilhar via


ISchemaOperations.GetCrawledProperty method

Obter uma propriedade rastreada.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaração
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetCrawledProperty ( _
    propertySet As Guid, _
    name As String, _
    includeNumSamples As Integer, _
    includeManagedMappedProperties As Boolean, _
    owner As SearchObjectOwner _
) As CrawledPropertyInfo
'Uso
Dim instance As ISchemaOperations
Dim propertySet As Guid
Dim name As String
Dim includeNumSamples As Integer
Dim includeManagedMappedProperties As Boolean
Dim owner As SearchObjectOwner
Dim returnValue As CrawledPropertyInfo

returnValue = instance.GetCrawledProperty(propertySet, _
    name, includeNumSamples, includeManagedMappedProperties, _
    owner)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
CrawledPropertyInfo GetCrawledProperty(
    Guid propertySet,
    string name,
    int includeNumSamples,
    bool includeManagedMappedProperties,
    SearchObjectOwner owner
)

Parâmetros

  • propertySet
    Type: System.Guid

    O Guid da propriedade conjunto contendo a propriedade rastreada.

  • name
    Type: System.String

    O nome da propriedade rastreada para recuperar.

  • includeNumSamples
    Type: System.Int32

    Este parâmetro é ignorado.

  • includeManagedMappedProperties
    Type: System.Boolean

    Se deseja incluir os mapeamentos de propriedade gerenciada.

Valor retornado

Type: Microsoft.Office.Server.Search.Administration.CrawledPropertyInfo
A propriedade rastreada encontrada. Lança uma exceção se a propriedade rastreada não pode ser encontrada.

Ver também

Referência

ISchemaOperations interface

ISchemaOperations members

Microsoft.Office.Server.Search.Administration namespace