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 whose click frequencies are computed.
referenceDate
Type: System.DateTimeThe date and time against which the click frequencies are computed.
Return Value
Type: []
An array 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 frequencies for past week.
The value of the referenceDate parameter must not be null .
See Also
Reference
SearchServiceApplication Class