Skip to main content

GetAFElementFromPath(String) Method

Returns the AFElement for a given path.

Definition​

Namespace: GHost.GSharp.Analytics.AF
Assembly: GHost.GSharp.Analytics.AF (in GHost.GSharp.Analytics.AF.dll) Version: 1.2.0.0 (1.2.44.3)

C#

public static AFElement GetAFElementFromPath(
string path
)

VB

Public Shared Function GetAFElementFromPath ( 
path As String
) As AFElement

Parameters​

  String
String specifying the AFElement path. The format should be ServerName\Database\Element1\Element2\…\ElementN.

Return Value​

AFElement object corresponding to the specified path.

Exceptions​

ArgumentNullExceptionThrown if the path passed is null or an empty string.
ArgumentExceptionThrown if the path passed is not a valid AFElement path.

See Also​

Reference​

FunctionLibrary Class
GetAFElementFromPath Overload
GHost.GSharp.Analytics.AF Namespace