BusinessDataAdmin2FreeThreaded.ImportCatalogs Method (PIA)
Use this method to import the profile catalog (profile schema) in an XML document to the business data store.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Profiles
…
Public Sub ImportCatalog(sXMLDocument As String)
[C#]
using Microsoft.CommerceServer.Interop.Profiles;
…
public void ImportCatalog (stringsXMLDocument
);
Parameters
[Visual Basic .NET]
- sXMLDocument
A String that contains the XML document containing the profile catalog to be imported.
[C#]
- sXMLDocument
A string that contains the XML document containing the profile catalog to be imported.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Remarks
You must call the Connect method before calling this method.
The XML data in the parameter sXMLDocument must contain a single profile catalog, and it must conform to the schema in the file MSCSProfileSchema.xml.
If the catalog you want to import was exported without credentials you will need to add credentials for each data source in the catalog before it can be imported.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Profiles
Platforms: Windows 2000, Windows Server 2003
Assembly: bizdataadmin (in bizdadaadmin.dll)
See Also
BusinessDataAdmin2FreeThreaded Class
BusinessDataAdmin2FreeThreaded Methods
Copyright © 2005 Microsoft Corporation.
All rights reserved.