GetAccessPaths method

Description
Returns a variant array containing the strings that are legal AccessPaths for this ItemID. May be Null if there are no AccessPaths for this ItemID or the server does not support them.
Syntax
GetAccessPaths
(ItemID As String) As Variant
ItemID
— Fully Qualified ItemID
Remarks
AccessPath is the "how" for the server to get the data specified by the ItemID (the what). The client uses this function to identify the possible access paths for the specified ItemID.
Example
Dim MyOPCBrowser as OPCBrowser
Dim sItemID As String
Dim vAccessPath As Variant
Set MyOPCBrowser = MyOPCServer.CreateBrowser
'/* Get item information for this branch
MyOPCBrowser.ShowLeafs
For i = 1 to MyOPCBrowser.Count
'/* Get ItemID for selected item
sItemID = MyOPCBrowser.GetiItemID(i)
'/* Get Acces Paths for selected ItemID
vAccessPath = MyOPCBrowser.GetAccessPaths(sItemID)
Next 'i
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal