ActivityPreference.Refresh Method
Repopulates the ActivityPreference with information from the database.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Sub Refresh ( _
discardChanges As Boolean _
)
'Usage
Dim instance As ActivityPreference
Dim discardChanges As Boolean
instance.Refresh(discardChanges)
public void Refresh(
bool discardChanges
)
Parameters
discardChanges
Type: System.BooleanA value indicating whether any changes to the ActivityPreference should be discarded before refreshing. If this value is false and changes have not been committed to the database, then an InvalidGetOperationException exception is thrown.