del método QueryRuleCollection.CreateQueryRule
Espacio de nombres: Microsoft.Office.Server.Search.Query.Rules
Ensamblado: Microsoft.Office.Server.Search (en Microsoft.Office.Server.Search.dll)
Sintaxis
'Declaración
Public Function CreateQueryRule ( _
displayName As String, _
startDate As Nullable(Of DateTime), _
endDate As Nullable(Of DateTime), _
active As Boolean _
) As QueryRule
'Uso
Dim instance As QueryRuleCollection
Dim displayName As String
Dim startDate As Nullable(Of DateTime)
Dim endDate As Nullable(Of DateTime)
Dim active As Boolean
Dim returnValue As QueryRule
returnValue = instance.CreateQueryRule(displayName, _
startDate, endDate, active)
public QueryRule CreateQueryRule(
string displayName,
Nullable<DateTime> startDate,
Nullable<DateTime> endDate,
bool active
)
Parámetros
- displayName
Tipo: System.String
- startDate
Tipo: System.Nullable<DateTime>
- endDate
Tipo: System.Nullable<DateTime>
- active
Tipo: System.Boolean
Valor devuelto
Tipo: Microsoft.Office.Server.Search.Query.Rules.QueryRule
Vea también
Referencia
Espacio de nombres Microsoft.Office.Server.Search.Query.Rules