Dijeli putem


ImportXml Method (InventoryImportOptions, Stream)

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

Imports a stream on the server.

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

Syntax

'Declaration
Public Function ImportXml ( _
    importOptions As InventoryImportOptions, _
    importStream As Stream _
) As ImportProgress
'Usage
Dim instance As InventoryContext
Dim importOptions As InventoryImportOptions
Dim importStream As Stream
Dim returnValue As ImportProgress

returnValue = instance.ImportXml(importOptions, _
    importStream)
public ImportProgress ImportXml(
    InventoryImportOptions importOptions,
    Stream importStream
)
public:
ImportProgress^ ImportXml(
    InventoryImportOptions^ importOptions, 
    Stream^ importStream
)
public function ImportXml(
    importOptions : InventoryImportOptions, 
    importStream : Stream
) : ImportProgress

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.ImportProgress
An ImportProgress class containing the progress of the import operation.

Remarks

Use this method to import an XML stream as inventory data.

Permissions

See Also

Reference

InventoryContext Class

InventoryContext Members

ImportXml Overload

Microsoft.CommerceServer.Inventory Namespace