ImportExportGenerateSubjects Method |
|
DataPA OpenAnalytics API Reference
Import default subjects from the database.
Namespace: DataPAClientConfigAssembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public bool GenerateSubjects(
string SystemName,
ref DataTable tmpTables,
bool FieldNamesAsLabels = false,
bool DBQualified = false,
bool FieldsAsConditions = false,
ref string ErrorString = "",
ref Object pbProcessing = null
)
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
public:
bool GenerateSubjects(
String^ SystemName,
DataTable^% tmpTables,
bool FieldNamesAsLabels = false,
bool DBQualified = false,
bool FieldsAsConditions = false,
String^% ErrorString = L"",
Object^% pbProcessing = nullptr
)
function GenerateSubjects(SystemName, tmpTables, FieldNamesAsLabels, DBQualified, FieldsAsConditions, ErrorString, pbProcessing);
Parameters
- SystemName
- Type: SystemString
Required. The system the subjects are loaded to - tmpTables
- Type: System.DataDataTable
Required. DataTable containing list of tables to import. cTable(Str) iDBID(Int) iTableID(Int) - FieldNamesAsLabels (Optional)
- Type: SystemBoolean
Optional. TRUE use fields names as labels FALSE use database labels (default) - DBQualified (Optional)
- Type: SystemBoolean
Optional. If using field names as labels, whether to qualify them with the DB name (default No) - FieldsAsConditions (Optional)
- Type: SystemBoolean
Optional. Allow ALL fields to be as used as conditions? Default False only sets indexed fields. - ErrorString (Optional)
- Type: SystemString
Optional. Descriptive message of any errors encountered. - pbProcessing (Optional)
- Type: SystemObject
Optional. Progressbar.
Return Value
Type:
BooleanRemarks See Also