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
- 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