Share via


ActivityTemplate.Refresh method

Repopulates this ActivityTemplate with data 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 ActivityTemplate
Dim discardChanges As Boolean

instance.Refresh(discardChanges)
public void Refresh(
    bool discardChanges
)

Parameters

  • discardChanges
    Type: System.Boolean

    A Boolean value that determines whether any changes that have been made to this object will be discarded before refreshing from the database.

See also

Reference

ActivityTemplate class

ActivityTemplate members

Microsoft.Office.Server.ActivityFeed namespace