Jaa


ImportCatalogs Method

Import the profile catalog (profile schema) in an XML document to the business data store.

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)

Syntax

'Declaration
Public Sub ImportCatalogs ( _
    ByRef xmlDocument As String _
)
'Usage
Dim instance As BusinessDataAdmin2FreeThreaded
Dim xmlDocument As String

instance.ImportCatalogs(xmlDocument)
public void ImportCatalogs(
    ref string xmlDocument
)
public:
void ImportCatalogs(
    String^% xmlDocument
)
public function ImportCatalogs(
    xmlDocument : String
)

Parameters

  • xmlDocument
    Type: System..::.String%
    Contains the XML document containing the profile catalog to be imported.

Remarks

You must call the Connect method before calling this method.

The XML data in the xmlDocument parameter 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.

Permissions

See Also

Reference

BusinessDataAdmin2FreeThreaded Class

BusinessDataAdmin2FreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace