Click or drag to resize

GeolocationServiceToDataTable Method (IEnumerableGeolocationInfo, Boolean)

Converts the given geolocation data to an instance of DataTable. The IP-address will be used as a primary key.

Namespace:  Dynamicweb.Analytics.Utilities
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static DataTable ToDataTable(
	IEnumerable<GeolocationInfo> data,
	bool onlyBasic
)

Parameters

data
Type: System.Collections.GenericIEnumerableGeolocationInfo
Data to convert.
onlyBasic
Type: SystemBoolean
Value indicating whether to put only basic information into the resulting table.

Return Value

Type: DataTable
Data table that contains the given geolocation information. The IP-address will be used as a primary key.
See Also