TK.GetTagHistorian (String, Double, Double, String, Int64, Boolean, String) Method

Get historical from tag
Public Shared Function GetTagHistorian( _ 
ByVal tagName As String, _ 
ByVal beginDepth As Double, _ 
ByVal endDepth As Double, _ 
ByVal holeDepthName As String, _ 
ByVal startedDrillingUTC As Long, _ 
Optional ByVal boundaryOutside As Boolean = true, _ 
Optional ByVal filterExpression As String = null _ 
) As DataTable
This language is not supported or no code example is available.
public static DataTable GetTagHistorian( 
string tagName
double beginDepth
double endDepth
string holeDepthName
long startedDrillingUTC
bool boundaryOutside = true, 
string filterExpression = null 
)
This language is not supported or no code example is available.

Parameters

tagName
string

Tag name

beginDepth
double

Initial depth

endDepth
double

Final depth

holeDepthName
string

Hole depth tag name for searching

startedDrillingUTC
long

Started drilling UTC ticks

boundaryOutside
bool

>Optional flag indicating whether should get samples on the outside (true) or inside(false) of the requested start time and duration. Default is true

filterExpression
string

>Optional SQL filter expression. Default is null

Return Value

DataTable

Reference to table containg historical data

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition