SearchServiceApplicationProxy.GetClickFrequenciesForUrl method

Gets the number of times a specified URL was clicked in the week and month before 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 SearchServiceApplicationProxy
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.String

    The URL whose click frequencies are computed.

  • referenceDate
    Type: System.DateTime

    The date and time before which the click frequencies are computed.

Return value

Type: []
The click frequencies for the month and week before the specified date.

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

The array has two elements. The first value is the number of clicks for the month before the specified date, and the second value is the number of clicks for the week before the specified date.

The value of the referenceDate parameter must not be null .

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace