Jaa


Save Method (Boolean)

Persists any changes made to the StaticCategory.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Overrides Sub Save ( _
    bypassConcurrencyCheck As Boolean _
)
'Usage
Dim instance As StaticCategory
Dim bypassConcurrencyCheck As Boolean

instance.Save(bypassConcurrencyCheck)
public override void Save(
    bool bypassConcurrencyCheck
)
public:
virtual void Save(
    bool bypassConcurrencyCheck
) override
public override function Save(
    bypassConcurrencyCheck : boolean
)

Parameters

  • bypassConcurrencyCheck
    Type: System..::.Boolean
    true to overwrite the changes made to this object by other users; otherwise, false.

Remarks

If bypassConcurrencyCheck is true, then changes made by another user after this object was retrieved and before this object was saved may be overwritten.

This method should be called to save any changes made to this instance of the property object to the catalog system. If bypassConcurrencyCheck is false and the property has been updated by another user then this method will throw an OptimisticLockException exception. You should get the StaticCategory object again, apply the changes to the new object and then save the changes.

Permissions

See Also

Reference

StaticCategory Class

StaticCategory Members

Save Overload

Microsoft.CommerceServer.Catalog Namespace