DataPA Enterprise Dashboard Controls API Reference
Import Links from the Database

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

Syntax

C#
public void ImportDbLinks(
	string SystemName,
	ref DataTable tblSelectedTables,
	int TimeOut = 0,
	bool IgnoreDuplicates = true,
	ref Object ProgressBar = null,
	ref Object ConnectText = null,
	int AlertX = 100,
	int AlertY = 100
)
Visual Basic
Public Sub ImportDbLinks ( 
	SystemName As String,
	ByRef tblSelectedTables As DataTable,
	Optional TimeOut As Integer = 0,
	Optional IgnoreDuplicates As Boolean = true,
	Optional ByRef ProgressBar As Object = Nothing,
	Optional ByRef ConnectText As Object = Nothing,
	Optional AlertX As Integer = 100,
	Optional AlertY As Integer = 100
)
Visual C++
public:
void ImportDbLinks(
	String^ SystemName, 
	DataTable^% tblSelectedTables, 
	int TimeOut = 0, 
	bool IgnoreDuplicates = true, 
	Object^% ProgressBar = nullptr, 
	Object^% ConnectText = nullptr, 
	int AlertX = 100, 
	int AlertY = 100
)

Parameters

SystemName
Type: System..::..String
Required. The system the links are loaded to
tblSelectedTables
Type: System.Data..::..DataTable%
Required. DataTable containing list of tables to import. cTable(String) iDBID(Integer) iTableID(Integer)
TimeOut (Optional)
Type: System..::..Int32
Optional. Server timeout in seconds.
IgnoreDuplicates (Optional)
Type: System..::..Boolean
Optional (Default TRUE). Exisiting links are TRUE-skipped FALSE-overwritten
ProgressBar (Optional)
Type: System..::..Object%
Optional. Progressbar.
ConnectText (Optional)
Type: System..::..Object%
Optional. Textbox where "Please wait, connecting..." is displayed
AlertX (Optional)
Type: System..::..Int32
Optional. X co-ordinate for Desktop Alert window.
AlertY (Optional)
Type: System..::..Int32
Optional. Y co-ordinate for Desktop Alert window.

Remarks