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
- 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.
See Also
Reference
Microsoft.CommerceServer.Catalog Namespace
Other Resources
Importing Catalog Data by Using the Catalog API
How to Import From an XML File