All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ToDataSourceTypeNumber(dashboardType) Function

Converts a data source type to the enumeration value's numerical number.

Declaration

export function ToDataSourceTypeNumber(dashboardType: DashboardDataSourceType): number

Parameters

Name Type Description
dashboardType DashboardDataSourceType

A data source type used in a dashboard.

Returns

Type Description
number

A number that identifies a data source type.