LocationConfigurationCollection.TryGetLocationConfigurationByName, méthode (Microsoft.Office.Server.Search.Administration)
Retrieves the first Microsoft.Office.Server.Search.Administration.LocationConfiguration object in the collection that matches the specified InternalName property.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)
Syntaxe
'Déclaration
Public Function TryGetLocationConfigurationByName ( _
name As String, _
<OutAttribute> ByRef configuration As LocationConfiguration _
) As Boolean
'Utilisation
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
)
Paramètres
- name
A string that specifies at least one internal name of the federated search location.
- configuration
A LocationConfiguration object that contains the location configuration returned by this method.
Voir aussi
Référence
LocationConfigurationCollection, classe
Membres LocationConfigurationCollection
Microsoft.Office.Server.Search.Administration, espace de noms