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.
- catalogName
Type: System..::.String%
Name of the profile catalog to export
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
- 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.
See Also
Reference
BusinessDataAdminFreeThreaded Class