Partager via


RefreshProfileInCache Method

Forces a single profile instance cache refresh on all runtime servers registered with the current site.

Namespace:  Microsoft.CommerceServer.Profiles.WebService
Assembly:  Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Sub RefreshProfileInCache ( _
    primaryKeyValue As String, _
    profileType As String _
)
'Usage
Dim instance As ProfilesWebService
Dim primaryKeyValue As String
Dim profileType As String

instance.RefreshProfileInCache(primaryKeyValue, _
    profileType)
[WebMethodAttribute]
public virtual void RefreshProfileInCache(
    string primaryKeyValue,
    string profileType
)
[WebMethodAttribute]
public:
virtual void RefreshProfileInCache(
    String^ primaryKeyValue, 
    String^ profileType
)
public function RefreshProfileInCache(
    primaryKeyValue : String, 
    profileType : String
)

Parameters

  • primaryKeyValue
    Type: System..::.String
    Value of the primary key property of the profile instance to refresh.

Remarks

This API forces a single profile instance cache refresh on all runtime servers registered with the current site. The WebService is responsible for determining the data type of the primary key property and converting primaryKeyValue to that data type.

Permissions

See Also

Reference

ProfilesWebService Class

ProfilesWebService Members

Microsoft.CommerceServer.Profiles.WebService Namespace