다음을 통해 공유


Validate Method

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

Validates the list of catalogs to export.

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

Syntax

'Declaration
Public Overridable Sub Validate
'Usage
Dim instance As ExportOptions

instance.Validate()
public virtual void Validate()
public:
virtual void Validate()
public function Validate()

Exceptions

Exception Condition
ValidationException

The ProductsAndCategoriesClause should be specified if the export mode is ExpressionBased.

ValidationException

The catalog name in the CatalogsToExport property is invalid.

Remarks

Validation ensures that your catalog XML file conforms to the proper schema.

This method performs the following validations:

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