Share via


Mode Property

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

Gets or sets the mode to use for the export operation.

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

Syntax

'Declaration
Public Property Mode As ExportMode
'Usage
Dim instance As ExportOptions
Dim value As ExportMode

value = instance.Mode

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

Property Value

Type: Microsoft.CommerceServer.Catalog..::.ExportMode
An ExportMode that contains the export mode to use for the export operation.

Remarks

The ExportMode enumeration values are;

  • ExpressionBased - Export only those products that match the specified expression.

  • Full - Export all inventory records.

When the Mode is set to ExpressionBased, the Validate method ensures that the ProductsAndCategoriesClause property is not empty.

Permissions

See Also

Reference

ExportOptions Class

ExportOptions 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