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