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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProfileManagementContext Class