4.6.3.3
ServerHandle
Description
(Read-only) The server assigned handle for the AnOPCItem. The ServerHandle is a Long that
uniquely identifies this AnOPCItem. The client must supply this handle to some of the methods
that operate on OPCItem objects (such as OPCItems.Remove).
Syntax
ServerHandle As Long
Example
Dim AnOPCItem as OPCItem
Set OPCItem = GetOPCItem(SomeItemServerHandle)
VB Syntax Example (getting the property):
Dim CurrentValue As Long
Dim SomeValue As Long
CurrentValue = AnOPCItem.ServerHandle
4.6.3.4
AccessPath
Description
(Read-only) The access path specified by the client on the Add function..
Syntax
AccessPath As String
Example
Dim AnOPCItem as OPCItem
Set OPCItem = GetOPCItem(SomeItemServerHandle)
VB Syntax Example (getting the property):
Dim CurrentValue As String
Dim SomeValue As String
CurrentValue = AnOPCItem.AccessPath
Do'stlaringiz bilan baham: |