Refresh Method (ProductConfiguration, Boolean)
Reload the object from the web service or database.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub Refresh ( _
config As ProductConfiguration, _
incrementalRefresh As Boolean _
)
'Usage
Dim instance As Product
Dim config As ProductConfiguration
Dim incrementalRefresh As Boolean
instance.Refresh(config, incrementalRefresh)
public void Refresh(
ProductConfiguration config,
bool incrementalRefresh
)
public:
void Refresh(
ProductConfiguration^ config,
bool incrementalRefresh
)
public function Refresh(
config : ProductConfiguration,
incrementalRefresh : boolean
)
Parameters
- config
Type: Microsoft.CommerceServer.Catalog..::.ProductConfiguration
A new configuration for the object when refreshing it.
- incrementalRefresh
Type: System..::.Boolean
true to cause the refresh to merge the current data in the object with the data requested by config. false to cause the data currently held in the object to be replaced by the data requested by config.
Remarks
Refresh the Product. Ensures that the cache is coherent with the current design-time view properties.
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.