ArcFM Responder Mobile Developer Guide
AverageOutageTimeSpan Method






The identifier of the region.
The number of customers affected in the region.
The average time span the affected customers have been without power.
Accesses information on the average outage time spans associated with a region.
Syntax
'Declaration
 
Public Function AverageOutageTimeSpan( _
   ByVal regionId As System.Integer, _
   ByRef count As System.Integer, _
   ByRef timeSpan As System.TimeSpan _
) As System.Boolean
'Usage
 
Dim instance As AverageOutageTimeRequest
Dim regionId As System.Integer
Dim count As System.Integer
Dim timeSpan As System.TimeSpan
Dim value As System.Boolean
 
value = instance.AverageOutageTimeSpan(regionId, count, timeSpan)
public System.bool AverageOutageTimeSpan( 
   System.int regionId,
   out System.int count,
   out System.TimeSpan timeSpan
)
public function AverageOutageTimeSpan( 
    regionId: System.Integer;
   Out  count: System.Integer;
   Out  timeSpan: System.TimeSpan
): System.Boolean; 
public function AverageOutageTimeSpan( 
   regionId : System.int,
   count : System.int,
   timeSpan : System.TimeSpan
) : System.boolean;
public: System.bool AverageOutageTimeSpan( 
   System.int regionId,
   [PARAMFLAG::Out] System.int count,
   [PARAMFLAG::Out] System.TimeSpan timeSpan
) 
public:
System.bool AverageOutageTimeSpan( 
   System.int regionId,
   [Out] System.int count,
   [Out] System.TimeSpan timeSpan
) 

Parameters

regionId
The identifier of the region.
count
The number of customers affected in the region.
timeSpan
The average time span the affected customers have been without power.

Return Value

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AverageOutageTimeRequest Class
AverageOutageTimeRequest Members

Send Feedback