: CrawlRuleCollection.Create (Método) (Microsoft.Office.Server.Search.Administration)
Creates a crawl rule.
Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)
Sintaxis
'Declaración
Public Function Create ( _
type As CrawlRuleType, _
path As String _
) As CrawlRule
'Uso
Dim instance As CrawlRuleCollection
Dim type As CrawlRuleType
Dim path As String
Dim returnValue As CrawlRule
returnValue = instance.Create(type, path)
public CrawlRule Create (
CrawlRuleType type,
string path
)
Parámetros
- type
A value from the CrawlRuleType enumeration specifying the type of crawl rule.
- path
A string that contains the path URL for the crawl rule.
Valor devuelto
A CrawlRule object.
Vea también
Referencia
CrawlRuleCollection (Clase)
CrawlRuleCollection (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)