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.
- profileType
Type: System..::.String
The type of profile 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
- 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.