Partager via


TransactionMode Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the transaction mode for the import operation.

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

Syntax

'Declaration
Public Property TransactionMode As TransactionMode
'Usage
Dim instance As ImportOptions
Dim value As TransactionMode

value = instance.TransactionMode

instance.TransactionMode = value
public TransactionMode TransactionMode { get; set; }
public:
property TransactionMode TransactionMode {
    TransactionMode get ();
    void set (TransactionMode value);
}
public function get TransactionMode () : TransactionMode
public function set TransactionMode (value : TransactionMode)

Property Value

Type: Microsoft.CommerceServer.Catalog..::.TransactionMode
A TransactionMode containing the transaction mode.

Remarks

Specifies the catalog import transaction mode. Enumeration values are:

  • TransactionalForCatalog- Transact each individual catalog. Abort the import of a catalog if an error occurs.

  • NonTransactional- Transact each individual product in the import file. Continue the import if there are errors while importing individual products.

Permissions

See Also

Reference

ImportOptions Class

ImportOptions Members

Microsoft.CommerceServer.Catalog Namespace

Other Resources

Importing Catalog Data by Using the Catalog API

Import Options

How to Import From an XML File

How to Import Selected Fields

Exporting Catalog Data by Using the Catalog API

Export Options

How to Export to an XML File

How to Export Selected Fields