Partager via


ImportSchemaChanges Property

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

Gets or sets a value that specifies whether schema changes should be performed during an import operation.

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

Syntax

'Declaration
Public Property ImportSchemaChanges As Boolean
'Usage
Dim instance As ImportOptions
Dim value As Boolean

value = instance.ImportSchemaChanges

instance.ImportSchemaChanges = value
public bool ImportSchemaChanges { get; set; }
public:
property bool ImportSchemaChanges {
    bool get ();
    void set (bool value);
}
public function get ImportSchemaChanges () : boolean
public function set ImportSchemaChanges (value : boolean)

Property Value

Type: System..::.Boolean
true if schema changes should be performed; otherwise, false. If the catalogschema does not exist when this property is set to true, the import will continue, even though no schema changes exist. No exception is thrown with a nullNothingnullptra null reference (Nothing in Visual Basic) catalogschema.

Remarks

If set to true, the schema of conflicting properties will change during the import.

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