SearchServiceApplication.GetScopeIDFromName method
Recupera a ID de um escopo de Search com o consumidor deScope nome e Searchespecificado.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
Public Function GetScopeIDFromName ( _
consumerName As String, _
name As String _
) As Integer
'Uso
Dim instance As SearchServiceApplication
Dim consumerName As String
Dim name As String
Dim returnValue As Integer
returnValue = instance.GetScopeIDFromName(consumerName, _
name)
public int GetScopeIDFromName(
string consumerName,
string name
)
Parâmetros
consumerName
Type: System.StringO nome do consumidor Search escopo que gerencia o SearchScope.
name
Type: System.StringO nome da SearchScope.
Valor retornado
Type: System.Int32
A ID do SearchScope.
Implements
ISearchSiteAdministrationServiceApplication.GetScopeIDFromName(String, String)
Comentários
Esses valores de parâmetros consumerName e o nome não devem ser null .
Ver também
Referência
SearchServiceApplication class