Partager via


Mode Property

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

Gets or sets the import mode.

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

Syntax

'Declaration
Public Property Mode As ImportMode
'Usage
Dim instance As ImportOptions
Dim value As ImportMode

value = instance.Mode

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

Property Value

Type: Microsoft.CommerceServer.Catalog..::.ImportMode
An ImportMode that contains the catalog import mode.

Exceptions

Exception Condition
ArgumentException

The import mode is invalid.

Remarks

Enumeration values are:

  • Incremental - Update the existing catalog with the imported data. Do not delete existing data. If no catalog exists, create a new catalog.

  • Full - Replace the existing catalog with the imported catalog. If no catalog exists, create a new catalog.

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