WebServiceImport Method
Import the catalog from a web service.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CatalogServer (in Microsoft.CatalogServer.dll)
Syntax
'Declaration
Function WebServiceImport ( _
siteName As String, _
token As Guid, _
inventoryImport As Boolean, _
importOptionsXml As String, _
ignoreInventorySystem As Boolean, _
userName As String, _
authorizationPolicyPath As String _
) As Guid
'Usage
Dim instance As ICatalogImport
Dim siteName As String
Dim token As Guid
Dim inventoryImport As Boolean
Dim importOptionsXml As String
Dim ignoreInventorySystem As Boolean
Dim userName As String
Dim authorizationPolicyPath As String
Dim returnValue As Guid
returnValue = instance.WebServiceImport(siteName, _
token, inventoryImport, importOptionsXml, _
ignoreInventorySystem, userName, _
authorizationPolicyPath)
Guid WebServiceImport(
string siteName,
Guid token,
bool inventoryImport,
string importOptionsXml,
bool ignoreInventorySystem,
string userName,
string authorizationPolicyPath
)
Guid WebServiceImport(
String^ siteName,
Guid token,
bool inventoryImport,
String^ importOptionsXml,
bool ignoreInventorySystem,
String^ userName,
String^ authorizationPolicyPath
)
function WebServiceImport(
siteName : String,
token : Guid,
inventoryImport : boolean,
importOptionsXml : String,
ignoreInventorySystem : boolean,
userName : String,
authorizationPolicyPath : String
) : Guid
Parameters
- siteName
Type: System..::.String
The name of the Commerce site to which this Catalog will connect to.
- token
Type: System..::.Guid
Used to identify import operation throughout the upload.
- inventoryImport
Type: System..::.Boolean
true to import the inventory; otherwise, false.
- importOptionsXml
Type: System..::.String
The set of options to use for a catalog import operation.
- ignoreInventorySystem
Type: System..::.Boolean
A flag indicating that this connection should ignore an inventory system if one is present. true to ignore the inventory system; otherwise, false.
- userName
Type: System..::.String
The login name of the user.
- authorizationPolicyPath
Type: System..::.String
A flag indicating that this connection should ignore an inventory system if one is present. true to ignore the inventory system; otherwise, false.
Return Value
Type: System..::.Guid
A GUID that identifies the WebServiceImport operation.
Remarks
Interface used when importing a catalog. This method provides a GUID for importing a catalog from a web service.
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.