Partilhar via


RefreshProfileCache Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Forces an entire profile cache refresh on all runtime servers registered with the current.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub RefreshProfileCache
'Usage
Dim instance As ProfileManagementContext

instance.RefreshProfileCache()
public void RefreshProfileCache()
public:
void RefreshProfileCache()
public function RefreshProfileCache()

Exceptions

Exception Condition
AuthenticationException

User has not been authenticated.

NotAuthorizedException

User is not authorized to perform this task.

Remarks

This API forces an entire profile cache refresh on all runtime servers registered with the current site.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

RefreshProfileCache Overload

Microsoft.CommerceServer.Profiles Namespace