SearchServiceApplication.GetClickFrequenciesForUrl method
Gets the number of times a specified URL has been clicked in the past week and the past month from the specified date.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetClickFrequenciesForUrl ( _
url As String, _
referenceDate As DateTime _
) As Integer()
'Usage
Dim instance As SearchServiceApplication
Dim url As String
Dim referenceDate As DateTime
Dim returnValue As Integer()
returnValue = instance.GetClickFrequenciesForUrl(url, _
referenceDate)
public int[] GetClickFrequenciesForUrl(
string url,
DateTime referenceDate
)
Parameters
url
Type: System.StringThe URL for which click frequencies are computed.
referenceDate
Type: System.DateTimeThe date and time against which the click frequencies are computed.
Return value
Type: []
An array that contains the click frequencies for the past month and the past week.
Remarks
The length of the returned array is 2. The first value represents the click frequencies for past month, and the second value represents the click frequencies for past week.
The value of referenceDate must not be NULL.
See also
Reference
SearchServiceApplication class