Share via


AnalyticsJobBase.SetValue<T> method

Use when asserting a new value to certain properties to ensure state changes that need to be written to the database are tracked.

Namespace:  Microsoft.Office.Server.Search.Analytics
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Sub SetValue(Of T) ( _
    ByRef field As T, _
    value As T _
)
'Usage
Dim field As T
Dim value As T

Me.SetValue(field, value)
protected void SetValue<T>(
    ref T field,
    T value
)

Type parameters

  • T

Parameters

  • field
    Type: T

    The field to compare.

  • value
    Type: T

    The value to compare.

See also

Reference

AnalyticsJobBase class

AnalyticsJobBase members

Microsoft.Office.Server.Search.Analytics namespace