Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Refreshes the specified entity 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, _
entity As Object _
)
'Usage
Dim instance As DataContext
Dim mode As RefreshMode
Dim entity As Object
instance.Refresh(mode, entity)
public void Refresh(
RefreshMode mode,
Object entity
)
Parameters
mode
Type: Microsoft.SharePoint.Linq.RefreshModeA value that specifies how to resolve differences between the current client values and the database values.
entity
Type: System.ObjectThe object that is refreshed.