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