DataContext.Refresh Method (RefreshMode, Object )

Refreshes an array of entities with the latest data from the content database according to the specified mode.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Sub Refresh ( _
    mode As RefreshMode, _
    ParamArray entities As Object() _
)
'Usage
Dim instance As DataContext
Dim mode As RefreshMode
Dim entities As Object()

instance.Refresh(mode, entities)
public void Refresh(
    RefreshMode mode,
    params Object[] entities
)

Parameters

  • entities
    Type: []

    The entities that are refreshed.

See Also

Reference

DataContext Class

DataContext Members

Refresh Overload

Microsoft.SharePoint.Linq Namespace