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.GuidO Guid da propriedade conjunto contendo a propriedade rastreada.
name
Type: System.StringO nome da propriedade rastreada para recuperar.
includeNumSamples
Type: System.Int32Este parâmetro é ignorado.
includeManagedMappedProperties
Type: System.BooleanSe deseja incluir os mapeamentos de propriedade gerenciada.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresenta a hierarquia do Sharepoint no qual a propriedade rastreada está contida.
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.