DataPA Enterprise Dashboard Controls API Reference
Import default subjects from the database.

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

Syntax

C#
public bool GenerateSubjects(
	string SystemName,
	ref DataTable tmpTables,
	bool FieldNamesAsLabels = false,
	bool DBQualified = false,
	bool FieldsAsConditions = false,
	ref string ErrorString = "",
	ref Object pbProcessing = null
)
Visual Basic
Public Function GenerateSubjects ( 
	SystemName As String,
	ByRef tmpTables As DataTable,
	Optional FieldNamesAsLabels As Boolean = false,
	Optional DBQualified As Boolean = false,
	Optional FieldsAsConditions As Boolean = false,
	Optional ByRef ErrorString As String = "",
	Optional ByRef pbProcessing As Object = Nothing
) As Boolean
Visual C++
public:
bool GenerateSubjects(
	String^ SystemName, 
	DataTable^% tmpTables, 
	bool FieldNamesAsLabels = false, 
	bool DBQualified = false, 
	bool FieldsAsConditions = false, 
	String^% ErrorString = L"", 
	Object^% pbProcessing = nullptr
)

Parameters

SystemName
Type: System..::..String
Required. The system the subjects are loaded to
tmpTables
Type: System.Data..::..DataTable%
Required. DataTable containing list of tables to import. cTable(Str) iDBID(Int) iTableID(Int)
FieldNamesAsLabels (Optional)
Type: System..::..Boolean
Optional. TRUE use fields names as labels FALSE use database labels (default)
DBQualified (Optional)
Type: System..::..Boolean
Optional. If using field names as labels, whether to qualify them with the DB name (default No)
FieldsAsConditions (Optional)
Type: System..::..Boolean
Optional. Allow ALL fields to be as used as conditions? Default False only sets indexed fields.
ErrorString (Optional)
Type: System..::..String%
Optional. Descriptive message of any errors encountered.
pbProcessing (Optional)
Type: System..::..Object%
Optional. Progressbar.

Return Value

Type: Boolean

Remarks