ArcFM Responder Mobile Developer Guide
GetElectricNetwork(IWorkspace) Method






The workspace.
Gets the electric network by visiting all datasets in the workspace and returning the dataset which has a weight value called "MMElectricTraceWeight".
Syntax
'Declaration
 
Public Shared Function GetElectricNetwork( _
   ByVal workspace As ESRI.ArcGIS.Geodatabase.IWorkspace _
) As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
'Usage
 
Dim workspace As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim value As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
 
value = NetworkIdentification.GetElectricNetwork(workspace)
public static ESRI.ArcGIS.Geodatabase.IGeometricNetwork GetElectricNetwork( 
   ESRI.ArcGIS.Geodatabase.IWorkspace workspace
)
public function GetElectricNetwork( 
    workspace: ESRI.ArcGIS.Geodatabase.IWorkspace
): ESRI.ArcGIS.Geodatabase.IGeometricNetwork; static; 
public static function GetElectricNetwork( 
   workspace : ESRI.ArcGIS.Geodatabase.IWorkspace
) : ESRI.ArcGIS.Geodatabase.IGeometricNetwork;
public: static ESRI.ArcGIS.Geodatabase.IGeometricNetwork* GetElectricNetwork( 
   ESRI.ArcGIS.Geodatabase.IWorkspace* workspace
) 
public:
static ESRI.ArcGIS.Geodatabase.IGeometricNetwork^ GetElectricNetwork( 
   ESRI.ArcGIS.Geodatabase.IWorkspace^ workspace
) 

Parameters

workspace
The workspace.

Return Value

Returns the electric network by visiting all datasets in the workspace and returning the dataset which has a weight value called "MMElectricTraceWeight".
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

NetworkIdentification Class
NetworkIdentification Members

Send Feedback