ExportCatalogs Method Home
 Collapse AllExpand All        Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: J# Code: JScript 
ExportCatalogs 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

'Usage

Dim instance As BusinessDataAdmin2FreeThreaded
Dim fileName As String
Dim removeCredentials As Boolean

instance.ExportCatalogs(fileName, removeCredentials)

'Declaration

Public Sub ExportCatalogs ( _
    ByRef fileName As String, _
    ByRef removeCredentials As Boolean _
)

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.
removeCredentials
Type: System..::.Boolean %
true to remove credentials; otherwise false.
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.

If the bRemoveCredentials parameter is true, then the credentials (user name and password) will be removed from all connection strings. These credentials will have to be replaced before the catalog can be imported. If the catalog is imported through Commerce Server Manager, the user must enter a user name and password for each data source partition in the catalog. A value of true indicates remove the credentials. A value of false indicates do not remove the credentials. The default value is true.

If the removeCredentials parameter is false, then the credentials will be exported in plain text with the rest of the catalog.

Permissions

See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View