Skip to main content

GetPIModuleFromPath(String) Method

Gets the AFElement for a given path.

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public static AFElement GetPIModuleFromPath(string path)

VB

Public Shared Function GetPIModuleFromPath (path As String) As AFElement

Parameters​

  String
String indicating AFElement path. The format should be [ServerName]Element1\Element2\…\ElementN.

Return Value​

AFElement object corresponding to the specified path.

Remarks​

The specified path should contain a valid server name.

Exceptions​

ArgumentException

See Also​

Reference​

PIACEBIFunctions Class
GetPIModuleFromPath Overload
GHost.GSharp.PI.ACE Namespace