Force trigger to save historian

Namespace: T.Modules.Historian
Assembly: T.Modules (in T.Modules.dll)

Public Overridable Function ForceTrigger( _ 
Optional ByVal timeStampUTCTicks As Long = -1, _ 
Optional ByVal onlySync As Boolean = false _ 
) As Integer
This language is not supported or no code example is available.
public virtual int ForceTrigger( 
long timeStampUTCTicks = -1, 
bool onlySync = false 
)
This language is not supported or no code example is available.
public:  
virtual int ForceTrigger( 
long timeStampUTCTicks
bool onlySync 
)
This language is not supported or no code example is available.
public function ForceTrigger( 
timeStampUTCTicks : long
onlySync : boolean 
) : int;
This language is not supported or no code example is available.

Parameters

timeStampUTCTicks

Type: long

Default is -1. If it is greater than -1 this tick will be used as sample's timestamp

onlySync

Type: bool

Default is false. If true will execute only PI replication history configured

Return Value

0-Timeout waiting write samples 1-force command executed with success

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4, 3.5 SP1