ArcFM Engine Developer Guide
OutageTimeSpan Method


The identifier of the region.
The type of the account.
The number of customers affected in the region.
The total time span the affected customers have been without power.
Accesses information on the outage time spans associated with a region and account type.
Syntax
'Declaration
 
Public Function OutageTimeSpan( _
   ByVal regionId As Integer, _
   ByVal accountType As Integer, _
   ByRef count As Integer, _
   ByRef timeSpan As TimeSpan _
) As Boolean
'Usage
 
Dim instance As OutageTimeByAccountTypeRequest
Dim regionId As Integer
Dim accountType As Integer
Dim count As Integer
Dim timeSpan As TimeSpan
Dim value As Boolean
 
value = instance.OutageTimeSpan(regionId, accountType, count, timeSpan)
public bool OutageTimeSpan( 
   int regionId,
   int accountType,
   out int count,
   out TimeSpan timeSpan
)

Parameters

regionId
The identifier of the region.
accountType
The type of the account.
count
The number of customers affected in the region.
timeSpan
The total time span the affected customers have been without power.

Return Value

True if the region and account type has outage information, else false.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

OutageTimeByAccountTypeRequest Class
OutageTimeByAccountTypeRequest Members

 

 


Send Comment