Condividi tramite


OverwriteRelationships Property

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

Gets or sets a value indicating whether existing hierarchy and relationships are overwritten during a catalog import operation.

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

Syntax

'Declaration
Public Property OverwriteRelationships As Boolean
'Usage
Dim instance As CatalogImportOptions
Dim value As Boolean

value = instance.OverwriteRelationships

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

Property Value

Type: System..::.Boolean
true if relationships will be overwritten; otherwise, false.

Remarks

Indicates whether parent child relationships should be overwritten. Default is true.

Permissions

See Also

Reference

CatalogImportOptions Class

CatalogImportOptions 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