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)

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.

ExceptionCondition
Exception

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

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 .

Show: