DashboardObjectDataTableToJson Method |
|
DataPA OpenAnalytics API Reference
Convert the given table to a JSON string
Namespace: DataPAEnterpriseDashboardAssembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)
Syntax public static string DataTableToJson(
DataTable dataTable,
DashboardObject dashboardObject,
long maxJSONLength,
bool isPivot = false
)
Public Shared Function DataTableToJson (
dataTable As DataTable,
dashboardObject As DashboardObject,
maxJSONLength As Long,
Optional isPivot As Boolean = false
) As String
public:
static String^ DataTableToJson(
DataTable^ dataTable,
DashboardObject^ dashboardObject,
long long maxJSONLength,
bool isPivot = false
)
DataPAEnterpriseDashboard.DashboardObject.DataTableToJson = function(dataTable, dashboardObject, maxJSONLength, isPivot);
Parameters
- dataTable
- Type: System.DataDataTable
The data table that contains the data - dashboardObject
- Type: DataPAEnterpriseDashboardDashboardObject
The dashboard object the data belongs to - maxJSONLength
- Type: SystemInt64
The max length of the returned JSON string - isPivot (Optional)
- Type: SystemBoolean
True if this object is a pivot table
Return Value
Type:
StringJSON representation of the given table based on the given dashboardObject
Exceptions Remarks See Also