Save Method (Boolean)

Saves any changes made to the CatalogSet object.

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

Syntax

'Declaration
Public Overrides Sub Save ( _
    bypassConcurrencyCheck As Boolean _
)
'Usage
Dim instance As CatalogSet
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

Use the bypassConcurrencyCheck:

true: Force the save to occur even if the object has been saved since it was retrieved.

false: Do not save if the object has been saved since it was retrieved. If the bypassConcurrencyCheck parameter is false and changes have been made by another user, then this method throws an OptimisticLockException exception.

Persist the changes to this object. This will save any changes to the object, including relationships and associations, as well as the item information dataset and other details such as rank associated ranks.

Permissions

See Also

Reference

CatalogSet Class

CatalogSet Members

Save Overload

Microsoft.CommerceServer.CatalogSets Namespace