LocationConfigurationCollection.TryGetLocationConfigurationByName method
Recupera o primeiro objeto da coleção que corresponda a propriedade especificada InternalName[Microsoft.Office.Server.Search.Administration.LocationConfiguration] .
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
Public Function TryGetLocationConfigurationByName ( _
name As String, _
<OutAttribute> ByRef configuration As LocationConfiguration _
) As Boolean
'Uso
Dim instance As LocationConfigurationCollection
Dim name As String
Dim configuration As LocationConfiguration
Dim returnValue As Boolean
returnValue = instance.TryGetLocationConfigurationByName(name, _
configuration)
public bool TryGetLocationConfigurationByName(
string name,
out LocationConfiguration configuration
)
Parâmetros
name
Type: System.StringUma seqüência de caracteres que especifica pelo menos um nome interno do local de pesquisa federado.
configuration
Type: Microsoft.Office.Server.Search.Administration.LocationConfigurationUm objeto LocationConfiguration que contém a configuração de local retornada por esse método.
Valor retornado
Type: System.Boolean
Ver também
Referência
LocationConfigurationCollection class