Partilhar via


Validate Method

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

Validates all the information currently in ImportOptions.

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

Syntax

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

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

Exceptions

Exception Condition
ArgumentNullException

The file name is not specified.

ArgumentException

The import mode is invalid.

FileNotFoundException

The file does not exist.

Remarks

Validates the catalog names, the property names, and the input parameters.

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