Show / Hide Table of Contents

CreateTimeLog(Int32,DateTime,TimeSpan) Method

The Objid of the Onsite Log that this Time Log is related to.

The DateTime the Time Log starts. If not set, the current time is used.

The length (in seconds) of the Time Log. If not specified, it is calculated from the start and end times.

Syntax

'Declaration

Public Overloads Function CreateTimeLog( _
   ByVal _onsiteLogObjid_ As Integer, _
   ByVal _startDate_ As Date, _
   ByVal _duration_ As TimeSpan _
) As CreateTimeLogResult
public CreateTimeLogResult CreateTimeLog( 
   int _onsiteLogObjid_,
   DateTime _startDate_,
   TimeSpan _duration_
)

Parameters

onsiteLogObjid

The Objid of the Onsite Log that this Time Log is related to.

startDate

The DateTime the Time Log starts. If not set, the current time is used.

duration

The length (in seconds) of the Time Log. If not specified, it is calculated from the start and end times.

Return Value

The following values are populated in the CreateTimeLogResult object returned by the API method:

  • OnsiteLogObjid - The Objid of the OnsiteLog.
  • Objid - The Objid of the TimeLog.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

FieldOpsToolkit Class
FieldOpsToolkit Members
Overload List

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.