Systems Space Allocation Methods

This package contains methods to access the allocation connection and its data.

This page discusses:

Sys3DAllocationConnection.AddSystemComponent()

This method adds a system component or its ports / interfaces to the allocation connection.

Signature

Sys3DAllocationConnection.AddSystemComponent(SystemComponent : LogicalOccurrence, ListVolPorts : List, ListSystemPorts : List) : Integer

Arguments

Name Input/Output Required? Type Comment
SystemComponent In LogicalOccurrence System component occurrence, which is to be allocated to the component volume of this allocation connection.
ListVolPorts In List List of ports on the component volumes
Note: If you want to create an allocation between a component volume and a system component, this list must be empty.
ListSystemPorts In List List of system ports/ interfaces to be allocated to pathway connection points of component volume
Note:
  • If you want to create an allocation between a component volume and a system component, this list must be empty.
  • This list should have the same size as the volume ports list. If multiple system ports are to be allocated to the same volume port, the list of the volume ports must contain the same volume port, multiple times.

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The input component is invalid: it is either empty or already allocated and the lists of ports are empty.
  • 2: The volume ports do not belong to the input volume.
  • 3: The list of system ports is invalid: the size of the list is different from the list of volume ports or it does not belong to the system components in the input list.
  • 4: The method fails due to some other reason.

Sys3DAllocationConnection.ChangeContext()

This method changes the context of an allocation connection.

Signature

Sys3DAllocationConnection.ChangeContext(ContextOccurrence : ProductOccurrence) : Integer

Arguments

Name Input/Output Required? Type Comment
ContextOccurrence In ProductOccurrence Occurrence of the new context for the connection. It must be in the hierarchy of the volume allocated through this connection.

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The input component is invalid: it is either empty or not in the hierarchy of the volume.
  • 2: The method fails due to some other reason.

Sys3DAllocationConnection.GetAllocatedSystemPorts()

This method allows you to get allocated system port or interfaces for a pathway connection point.

Signature

Sys3DAllocationConnection.GetAllocatedSystemPorts(VolumePort : VPMPort, SystemComponents : List, SystemPortsOrInterfaces : List) : Integer

Arguments

Name Input/Output Required? Type Comment
VolumePort In VPMPort -
SystemComponents Out List -
SystemPortsOrInterfaces Out List -

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful, and system ports found. The method returns all the system ports and their components in this allocation connection, for input volume port.
  • 1: The method is successful, but no system port found.
  • 2: The method failed.

Sys3DAllocationConnection.GetAllocatedVolumePort()

This method allows you to retrieve an allocated pathway connection point for a system port.

Signature

Sys3DAllocationConnection.GetAllocatedVolumePort(SystemPort : RFLVPMLogicalPort, SystemComponent : LogicalOccurrence, VolumePort : VPMPort) : Integer

Arguments

Name Input/Output Required? Type Comment
SystemPort In RFLVPMLogicalPort -
SystemComponent In LogicalOccurrence -
VolumePort Out VPMPort -

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and volume port found. The method returns all the volume ports with which an input component is allocated to.
  • 1: The method is successful, but no volume port found.
  • 2: The method failed.

Sys3DAllocationConnection.GetAllocatedVolumePort()

This method allows you to retrieve allocated pathway connection point for a system interface.

Signature

Sys3DAllocationConnection.GetAllocatedVolumePort(SystemInterface : RFLVPMSystemTypeExpositionInstance, SystemComponent : LogicalOccurrence, VolumePort : VPMPort) : Integer

Arguments

Name Input/Output Required? Type Comment
SystemInterface In RFLVPMSystemTypeExpositionInstance -
SystemComponent In LogicalOccurrence -
VolumePort Out VPMPort -

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and volume port found. The method returns all the volume ports with which an interface is allocated to.
  • 1: The method is successful, but no volume port found.
  • 2: The method failed.

Sys3DAllocationConnection.RemoveSystemComponent()

This method removes the allocation of a system component with the volume for which this connection is created.

Signature

Sys3DAllocationConnection.RemoveSystemComponent(SystemComponent : LogicalOccurrence) : Integer

Arguments

Name Input/Output Required? Type Comment
SystemComponent In LogicalOccurrence System component occurrence for which an allocation with the component volume of this allocation connection is to be removed
Note: This also removes the allocation of ports/ interfaces of the system component.

ReturnType

Integer

The function can return one of the following values:

  • 0: The method is successful.
  • 1: The input component is invalid: it is either empty or not allocated through this allocation connection.
  • 2: The method fails due to some other reason.

Sys3DAllocationConnection.RemoveSystemPorts()

This method removes the allocation of a system component with the volume for which this connection is created.

Signature

Sys3DAllocationConnection.RemoveSystemPorts(ListSystemPorts : List, SystemComponent : LogicalOccurrence) : Integer

Arguments

Name Input/Output Required? Type Comment
ListSystemPorts In List System component ports for which an allocation in this allocation connection is to be removed
SystemComponent In LogicalOccurrence System component occurrence containing the ports or interfaces in the input list.
Note: This also removes the allocation of ports or the interfaces of the system component.

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The input component is invalid: it is either empty or not allocated through this allocation connection.
  • 2:The list of system ports is invalid: it is empty or it does not belong to the input system component.
  • 3: The method fails due to some other reason.

Sys3DComponentVolumeNode.GetComponents()

This method returns the component volume occurrence and the port for which this node is created.

Signature

Sys3DComponentVolumeNode.GetComponents(VolumeOccurrence : ProductOccurrence, VolumePort : VPMPort) : Integer

Arguments

Name Input/Output Required? Type Comment
VolumeOccurrence Out ProductOccurrence Component volume for which the node is created
VolumePort Out VPMPort Port on the component volume for which the node is created. This may be NULL if the node is created only for the volume

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The method failed.

Sys3DDerivationVolumeNode.GetComponents()

This method returns the derivation volume occurrence for which this node is created.

Signature

Sys3DDerivationVolumeNode.GetComponents(VolumeOccurrence : ProductOccurrence) : Integer

Arguments

Name Input/Output Required? Type Comment
VolumeOccurrence Out ProductOccurrence Derivation volume for which the node is created

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The method failed.

Sys3DInterfaceVolumeNode.GetComponents()

This method returns the interface volume occurrence for which this node is created.

Signature

Sys3DInterfaceVolumeNode.GetComponents(VolumeOccurrence : ProductOccurrence) : Integer

Arguments

Name Input/Output Required? Type Comment
VolumeOccurrence Out ProductOccurrence Interface volume for which the node is created

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The method failed.

Sys3DJunctionNode.GetComponents()

This method returns the feature and its parent occurrence for which this node is created.

Signature

Sys3DJunctionNode.GetComponents(ParentOccurrence : ProductOccurrence, Feature : Feature) : Integer

Arguments

Name Input/Output Required? Type Comment
ParentOccurrence Out ProductOccurrence Component volume for which the node is created
Feature Out Feature Feature on the parent occurrence for which the node is created

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The method failed.

Sys3DNetworkArc.GetNodes()

This method returns the nodes of arcs in the network path.

Signature

Sys3DNetworkArc.GetNodes(Node1 : Sys3DNetworkNode, Node2 : Sys3DNetworkNode) : Integer

Arguments

Name Input/Output Required? Type Comment
Node1 Out Sys3DNetworkNode First node of the arc
Node2 Out Sys3DNetworkNode Second node of the arc

ReturnType

Integer

The function can return one of the following values:

  • 0: The method is successful.
  • 1: The method failed.

Sys3DNetworkPath.ListNetworkPathElements()

This method returns the list of arcs in the network path.

Signature

Sys3DNetworkPath.ListNetworkPathElements(NetworkPathElements : List) : Integer

Arguments

Name Input/Output Required? Type Comment
NetworkPathElements Out List List of elements in network path

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The method failed.

Sys3DNetworkNode.GetConnectedArcs()

This method returns the list of arcs connected to a node.

Signature

Sys3DNetworkNode.GetConnectedArcs(ListArcs : List) : Integer

Arguments

Name Input/Output Required? Type Comment
ListArcs Out List List of arcs connected to the node

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and some connected arcs are found.
  • 1: The method is successful but no arc is connected to the node is found.
  • 2: The method fails due to other reasons.

Sys3DNetworkNode.NextArcs()

This method returns the list of arcs connected to a node.

Signature

Sys3DNetworkNode.NextArcs(PreviousArc : Sys3DNetworkArc, ListConnectedArcs : List) : Integer

Arguments

Name Input/Output Required? Type Comment
PreviousArc In Sys3DNetworkArc Arc for which connected arcs are needed
ListConnectedArcs Out List List of arcs connected to the node

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and some connected arcs are found.
  • 1: The method is successful but no arc is connected to the node is found.
  • 2: The method fails due to other reasons.

Sys3DPathwaySegmentArc.GetRoutedSignals()

This method returns all the signals routed through the input pathway segment arc.

Signature

Sys3DPathwaySegmentArc.GetRoutedSignals(ListSignals : List) : Integer

Arguments

Name Input/Output Required? Type Comment
ListSignals Out List List of signals routed through pathway segment arc

ReturnType

Integer

Return values:

  • 0: The method is successful.
  • 1: The method is successful but no signals are passing through the pathway segment arc.
  • 2: The method fails because of some other reason.

Sys3D_ElementaryGroupOccurrence.GetEndVolumes()

This method returns the list of end volumes of the elementary group.

Signature

Sys3D_ElementaryGroupOccurrence.GetEndVolumes(ListEndVolumes : List) : Integer

Arguments

Name Input/Output Required? Type Comment
ListEndVolumes Out List List of end volume nodes Sys3DNetworkNode of the elementary group.

ReturnType

Integer

The function can return one of the following values:

  • 0: The function is successful and end volumes are listed.
  • 1: The context is not initialized using the CreateAllocationSession method.
  • 2: The function fails due to some other reason.
  • 99: The function is not authorized due to missing role.

Example

// Sys3DEG = Sys3D_ElementaryGroupOccurrence

/* Action created by CVV 12/5/2025 */
let ListVolumes (List)
let volNode (Sys3DNetworkNode)
let result (Integer)
let sMessage (String)

set sMessage = "GetEndVolumes " + Sys3DEG.Name + ": "
set result = Sys3DEG.GetEndVolumes (ListVolumes)
set sMessage = sMessage + "Result = " + ToString(result)
Notify(sMessage)

if(1 == result)
{
  Notify("ERROR: Session not initialized")
}
else if(2 == result)
{
  Notify("ERROR: Failed to retrieve End Volumes")
}
else if(0 == result)
{
  // Notify the Routes
  Notify("Intermediate Volumes: ")
  for volNode inside ListVolumes
  {
    let cvNode (Sys3DComponentVolumeNode)
    let ivNode (Sys3DInterfaceVolumeNode)
    let volOcc (ProductOccurrence)
    
    set sMessage = ""
    set cvNode = volNode
    set ivNode = volNode
    if(NULL <> cvNode)
    {
      let port(VPMPort)
      cvNode.GetComponents(volOcc, port)
    }
    else if (NULL <> ivNode)
    {
      ivNode.GetComponents(volOcc)
    }
    if(NULL <> volOcc)
      set sMessage = volOcc.Name
    Notify(sMessage)
  }
}

Sys3D_ElementaryGroupOccurrence.GetIntermediateVolumes()

This method returns the list of intermediate volumes of the elementary group.

Signature

Sys3D_ElementaryGroupOccurrence.GetIntermediateVolumes(ListIntermediateVolumes : List) : Integer

Arguments

Name Input/Output Required? Type Comment
ListIntermediateVolumes Out List List of intermediate volume nodes Sys3DNetworkNode of the elementary group.

ReturnType

Integer

The function can return one of the following values:

  • 0: The function is successful and end volumes are listed.
  • 1: The context is not initialized using the CreateAllocationSession method.
  • 2: The function fails due to some other reason.
  • 99: The function is not authorized due to missing role.

Example

// Sys3DEG = Sys3D_ElementaryGroupOccurrence

/* Action created by CVV 12/5/2025 */
let ListIntermediateVolumes (List)
let volNode (Sys3DNetworkNode)
let result (Integer)
let sMessage (String)

set sMessage = "GetIntermediateVolumes " + Sys3DEG.Name + ": "
set result = Sys3DEG.GetIntermediateVolumes (ListIntermediateVolumes)
set sMessage = sMessage + "Result = " + ToString(result)
Notify(sMessage)

if(1 == result)
{
  Notify("ERROR: Session not initialized")
}
else if(2 == result)
{
  Notify("ERROR: Failed to retrieve Intermediate Volumes")
}
else if(0 == result)
{
  // Notify the Routes
  Notify("Intermediate Volumes: ")
  for volNode inside ListIntermediateVolumes
  {
    let dvNode (Sys3DDerivationVolumeNode)
    let ivNode (Sys3DInterfaceVolumeNode)
    let volOcc (ProductOccurrence)
    
    set sMessage = ""
    set dvNode = volNode
    set ivNode = volNode
    if(NULL <> dvNode)
    {
      dvNode.GetComponents(volOcc)
    }
    else if (NULL <> ivNode)
    {
      ivNode.GetComponents(volOcc)
    }
    if(NULL <> volOcc)
      set sMessage = volOcc.Name
    Notify(sMessage)
  }
}

Sys3D_ElementaryGroupOccurrence.GetNetworkPaths()

This method returns the list of intermediate volumes of the elementary group.

Signature

Sys3D_ElementaryGroupOccurrence.GetNetworkPaths(ListNetworkPaths : List) : Integer

Arguments

Name Input/Output Required? Type Comment
ListNetworkPaths Out List List of network paths Sys3DNetworkPath of the elementary group.

ReturnType

Integer

The function can return one of the following values:

  • 0: The function is successful and end volumes are listed.
  • 1: The context is not initialized using the CreateAllocationSession method.
  • 2: The function fails due to some other reason.
  • 99: The function is not authorized due to missing role.

Example

// Sys3DEG = Sys3D_ElementaryGroupOccurrence

/* Action created by CVV 12/5/2025 */
let ListNPs (List)
let sys3DNP (Sys3DNetworkPath)
let result (Integer)
let sMessage (String)

set sMessage = "GetNetworkPaths " + Sys3DEG.Name + ": "
set result = Sys3DEG.GetNetworkPaths (ListNPs)
set sMessage = sMessage + "Result = " + ToString(result)
Notify(sMessage)

if(1 == result)
{
  Notify("ERROR: Session not initialized")
}
else if(2 == result)
{
  Notify("ERROR: Failed to retrieve Network Paths")
}
else if(0 == result)
{
  let index (Integer)
  set index = 1
  for sys3DNP inside ListNPs
  {
    let dvNode (Sys3DDerivationVolumeNode)
    let ivNode (Sys3DInterfaceVolumeNode)
    let cvNode (Sys3DComponentVolumeNode)
    let netNode1 (Sys3DNetworkNode)
    let netNode2 (Sys3DNetworkNode)
    let volOcc (ProductOccurrence)
    
    set sMessage = ToString(index) + ": Ends = "
    set index = index + 1
  
    // Get the ends
    sys3DNP.GetEndNodes(netNode1, netNode2)
    let sName (String)
    
    // Start Node
    set sName = ""
    set cvNode = netNode1
    set ivNode = netNode1
    set ivNode = netNode1
    if(NULL <> cvNode)
    {
      let port(VPMPort)
      cvNode.GetComponents(volOcc, port)
    }
    else if(NULL <> dvNode)
      dvNode.GetComponents(volOcc)
    else if (NULL <> ivNode)
      ivNode.GetComponents(volOcc)
    if(NULL <> volOcc)
      set sName = sName + volOcc.Name
    
    // End node
    set sName = sName + "->"
    set cvNode = netNode2
    set ivNode = netNode2
    set ivNode = netNode2
    if(NULL <> cvNode)
    {
      let port(VPMPort)
      cvNode.GetComponents(volOcc, port)
    }
    else if(NULL <> dvNode)
      dvNode.GetComponents(volOcc)
    else if (NULL <> ivNode)
      ivNode.GetComponents(volOcc)
    if(NULL <> volOcc)
      set sName = sName + volOcc.Name
    set sMessage = sMessage + sName
    Notify(sMessage)
    
    // List arcs
    Notify("Segments:")
    let listArcs(LIST)
    let arc(Sys3DPathwaySegmentArc)
    sys3DNP.ListNetworkPathElements(listArcs)
    for arc inside listArcs
    {
      set sName = ""
      let feat(Feature)
      arc.GetComponents(volOcc, feat)
      if(NULL <> volOcc)
        set sName = sName + volOcc.Name + "|"
      if(NULL <> feat)
        set sName = sName + feat.Name
      set sMessage = sMessage + sName
      Notify(sMessage)
    }
  }
}

Sys3D_ElementaryGroupOccurrence.GetRoutes()

This method returns the list of routes for which the elementary group is created.

Signature

Sys3D_ElementaryGroupOccurrence.GetRoutes(ListRoutes : List) : Integer

Arguments

Name Input/Output Required? Type Comment
ListRoutes Out List List of route occurrences for wich an elementary group is created.

ReturnType

Integer

The function can return one of the following values:

  • 0: The function is successful.
  • 1: The context is not initialized using the CreateAllocationSession method.
  • 2: The function fails due to some other reason.
  • 99: The function is not authorized due to missing role.

Example

// Sys3DEG = Sys3D_ElementaryGroupOccurrence

/* Action created by CVV 12/5/2025 */
let ListRoute (List)
let route (Sys3D_RouteOccurrence)
let result (Integer)
let sMessage (String)

set sMessage = "GetRoutes " + Sys3DEG.Name + ": "
set result = Sys3DEG.GetRoutes (ListRoute)
set sMessage = sMessage + "Result = " + ToString(result)
Notify(sMessage)

if(1 == result)
{
  Notify("ERROR: Session not initialized")
}
else if(2 == result)
{
  Notify("ERROR: Failed to retrieve Routes")
}
else if(0 == result)
{
  // Notify the Routes
  for route inside ListRoute
  {
    Notify(route.Name)
  }
}


Sys3D_Route.GetClassID()

A new method is exposed to the existing type Sys3D_Route to get the classification ID of the route. It can be used to decide the grouping of routes during elementary group creation, through an above function or through a business rule opening Sys3D_ComputeElementaryGroupInfo, executed at the start of Elementary Group Assistant.

Signature

Sys3D_Route.GetClassID(ClassificationIdentifier : String) : Integer

Arguments

Name Input/Output Required? Type Comment
ClassificationIdentifier Out String Classification stored on the route reference.

ReturnType

Integer

The function can return one of the following values:

  • 0: The function is successful and Class ID is set.
  • 1: The function is successful but Class ID is not set.
  • 2: The function fails due to some other reason.
  • 99: The function is not authorized due to missing role.

Sys3D_Route.SetRuleSet()

This method stores the rule set in the PLM route.

Signature

Sys3D_Route.SetRuleSet(RuleSet : Sys3DRoutingRuleSet) : Integer

Arguments

Name Input/Output Required? Type Comment
RuleSet In Sys3DRoutingRuleSet Rule set object with updated rule values

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and the signal is found.
  • 1: The method fails.

Sys3D_Route.GetSignal()

This method reads the routing connection of the PLM route to get the signal for which it is created.

Signature

Sys3D_Route.GetSignal(Signal : Feature) : Integer

Arguments

Name Input/Output Required? Type Comment
Signal Out Feature Signal for which the route object is created.

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and the signal is found.
  • 1: The method fails.

Sys3D_Route.GetRuleSet()

This method returns the rule set stored in the PLM route. You can access the value of a different rule through attributes of the output object.

Signature

Sys3D_Route.GetRuleSet(RuleSet : Sys3DRoutingRuleSet) : Integer

Arguments

Name Input/Output Required? Type Comment
RuleSet Out Sys3DRoutingRuleSet Rule set object
Note: Modifying the attribute values does not modify the PLM route. You must explicitly call SetRuleSet to update the rules.

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The method fails.

Sys3D_Route.GetRouteWithFromToLevelofOptimization()

This method retrieves the network path information of the route with a From-To level of optimization.

Signature

Sys3D_Route.GetRouteWithFromToLevelofOptimization(SystemRootContext : LogicalOccurrence, ListofListNWPath : List) : Integer

Arguments

Name Input/Output Required? Type Comment
SystemRootContext In LogicalOccurrence Logical or system root occurrence which will be the context for the signal
ListofListNWPath Out List List containing the network paths

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and the route is returned.
  • 1: The stored level of optimization is Signal.
  • 2: The context is invalid.
  • 3: The corresponding logical signal is deleted.
  • 4: The route status is not full or the network is modified and the network path cannot be computed.
  • 5: The method fails due to any other reason.

Sys3D_Route.SetRouteWithFromToLevelofOptimization()

This method stores the route of the signal with a From-To level of optimization.

Signature

Sys3D_Route.SetRouteWithFromToLevelofOptimization(ListofListNWPath : List, SystemRootContext : LogicalOccurrence) : Integer

Arguments

Name Input/Output Required? Type Comment
ListofListNWPath In List List containing the network paths for each From -To of the signal
SystemRootContext In LogicalOccurrence Logical or system soot occurrence which will be the context for the signal
Note: You must check the level of optimization stored in the PLM route using the GetRuleSet function.

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and the route is stored.
  • 1: The route is not stored because the stored level of optimization is Signal.
  • 2: The validation with the stored rule is requested and the input route is not valid.
  • 3: The method fails.

Sys3D_Route.GetRouteWithSignalLevelofOptimization()

This method retrieves the network path information of the route with a Signal level of optimization.

Signature

Sys3D_Route.GetRouteWithSignalLevelofOptimization(SystemRootContext : LogicalOccurrence,ListofListNWPath : List) : Integer

Arguments

Name Input/Output Required? Type Comment
SystemRootContext In LogicalOccurrence Logical or system root occurrence which will be the context for the signals
ListofListNWPath Out List List containing the network paths

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and the route is returned.
  • 1: The stored level of optimization is From-To.
  • 2: The context is invalid.
  • 3: The corresponding logical signal is deleted.
  • 4: The route status is not full or the network is modified and the network path cannot be computed.
  • 5: The method fails due to any other reason.

Sys3D_Route.SetRouteWithSignalLevelofOptimization()

This method stores the route of the signal with a Signal level of optimization.

Signature

Sys3D_Route.SetRouteWithSignalLevelofOptimization(ListNWPath : List, ListofListNWPath : List, SystemRootContext : LogicalOccurrence) : Integer

Arguments

Name Input/Output Required? Type Comment
ListNWPath In List List containing the network paths for the signal
ListofListNWPath In List List containing the list of network paths for each From-To of the signal
SystemRootContext In LogicalOccurrence Logical or system root occurrence which will be the context for the signals

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful and the route is stored.
  • 1: The route is not stored because the stored level of optimization is From-To.
  • 2: The validation with the stored rule is requested and the input route is not valid.
  • 3: The method fails.

Sys3DNetworkPath.GetEndNodes()

This method retrieves the start and end nodes from the network path.

Signature

Sys3DNetworkPath.GetEndNodes(StartNode : Sys3DNetworkNode, EndNode : Sys3DNetworkNode) : Integer

Arguments

Name Input/Output Required? Type Comment
StartNode Out Sys3DNetworkNode First node of the network path to be created
EndNode Out Sys3DNetworkNode Last node of the network path to be created

ReturnType

Integer

The method can return one of the following values:

  • 0: The method is successful.
  • 1: The network path is not valid.
  • 3: The method fails.