Share via


ExportCatalog Method

Exports the profile catalog (profile schema) in the business data store to an XML file.

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

Syntax

'Declaration
Public Sub ExportCatalog ( _
    ByRef fileName As String, _
    ByRef catalogName As String _
)
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim fileName As String
Dim catalogName As String

instance.ExportCatalog(fileName, catalogName)
public void ExportCatalog(
    ref string fileName,
    ref string catalogName
)
public:
void ExportCatalog(
    String^% fileName, 
    String^% catalogName
)
public function ExportCatalog(
    fileName : String, 
    catalogName : String
)

Parameters

  • fileName
    Type: System..::.String%
    Specifies that file that will contain the exported profile catalog. This is a local path – it cannot be a URL.

Remarks

You must call the Connect method before calling this method.

The exported XML document will conform to the schema specified in file MSCSProfileSchema.xml, and will contain both site terms and profile definitions.

Permissions

See Also

Reference

BusinessDataAdminFreeThreaded Class

BusinessDataAdminFreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace