DataPA Enterprise Dashboard Controls API Reference
Import a DataPA Export File (.pax)

Namespace: DataPAClientConfig
Assembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)

Syntax

C#
public void ImportDataPAExportFile(
	string ImportFile,
	int SystemOverwriteAction,
	int SubjectOverwriteAction,
	bool OverwriteDuplicates,
	ref string Message,
	string SaveCopyofDATFileToFolder = ""
)
Visual Basic
Public Sub ImportDataPAExportFile ( 
	ImportFile As String,
	SystemOverwriteAction As Integer,
	SubjectOverwriteAction As Integer,
	OverwriteDuplicates As Boolean,
	ByRef Message As String,
	Optional SaveCopyofDATFileToFolder As String = ""
)
Visual C++
public:
void ImportDataPAExportFile(
	String^ ImportFile, 
	int SystemOverwriteAction, 
	int SubjectOverwriteAction, 
	bool OverwriteDuplicates, 
	String^% Message, 
	String^ SaveCopyofDATFileToFolder = L""
)

Parameters

ImportFile
Type: System..::..String
Required, file name with path of file to import
SystemOverwriteAction
Type: System..::..Int32
Yes=0 No=1 YesAll=2 NoAll=3
SubjectOverwriteAction
Type: System..::..Int32
Yes=0 No=1 YesAll=2 NoAll=3
OverwriteDuplicates
Type: System..::..Boolean
Yes=0 No=1 YesAll=2 NoAll=3
Message
Type: System..::..String%
Output, any error encountered
SaveCopyofDATFileToFolder (Optional)
Type: System..::..String
Folder path for Backup of DAT files

Remarks