Previous Topic Next topic Print topic


MFImportConn command

Enables you to import connection settings previously exported from the ADO.NET Connection Editor.
Important: You must run this command from a 32-bit or a 64-bit Visual COBOL command prompt. See To start aVisual COBOL command prompt for instructions.

Syntax

{MFImportConn32_v2 | MFImportConn32_v4 | MFImportConn64_v2 | MFImportConn64_v4} path:\exportedXMLfile {System | User} {32BIT | 64BIT}
Important: Use the executable that fits the type of connection you're importing to. In the executable file names, 32 represents 32-bit, 64 represents 64-bit, v2 represents .NET Framework versions 2.0, 3.0, or 3.5, and v4 represents .NET Framework 4.0.

Parameters

path The full path to the XML file containing the exported connection settings
exportedXMLfile The filename of the XML file containing the exported connection settings
System Specify this to import the connection settings into the machine.config file for use by all users
User Specify this to import the connection settings into the UserConnections32.config or UserConnections64.config file for use by the current user only
32BIT Specify this for 32-bit connections
64BIT Specify this for 64-bit connections
Previous Topic Next topic Print topic