Share via


SiteHitRulesCollection.Create Method

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

Syntax

'Declaration
Public Function Create ( _
    site As String, _
    hitRate As Integer, _
    behavior As SiteHitRuleBehavior _
) As SiteHitRule
'Usage
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
)

Parameters

Return Value

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

See Also

Reference

SiteHitRulesCollection Class

SiteHitRulesCollection Members

Microsoft.Office.Server.Search.Administration Namespace