Compartilhar via


SiteHitRulesCollection.Create method

Adiciona nova regra-hit-site com dado hitRate.

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

Syntax

'Declaração
Public Function Create ( _
    site As String, _
    hitRate As Integer, _
    behavior As SiteHitRuleBehavior _
) As SiteHitRule
'Uso
Dim instance As SiteHitRulesCollection
Dim site As String
Dim hitRate As Integer
Dim behavior As SiteHitRuleBehavior
Dim returnValue As SiteHitRule

returnValue = instance.Create(site, hitRate, _
    behavior)
public SiteHitRule Create(
    string site,
    int hitRate,
    SiteHitRuleBehavior behavior
)

Parâmetros

Valor retornado

Type: Microsoft.Office.Server.Search.Administration.SiteHitRule

Ver também

Referência

SiteHitRulesCollection class

SiteHitRulesCollection members

Microsoft.Office.Server.Search.Administration namespace