Поделиться через


Operation Property

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

Gets or sets the import operation to perform.

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

Syntax

'Declaration
Public Property Operation As ImportOperation
'Usage
Dim instance As ImportOptions
Dim value As ImportOperation

value = instance.Operation

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

Property Value

Type: Microsoft.CommerceServer.Catalog..::.ImportOperation
An ImportOperation to specify the catalog import validation mode.

Remarks

Enumeration values are:

  • Import - Validate data as the file is imported.

  • Validate - Validate the XML file but do not import data.

  • ValidateAndImport - Validate the XML file and import data only if the file is valid.

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