Try OpenEdge Now
skip to main content
Web Services
Developing a .NET Client to Consume OpenEdge SOAP Web Services : Developing the VB.NET client application : Releasing an object

Releasing an object

For releasing an object:
*Every Open Client object except for a session-free AppObject has a release method.
*The syntax is the same for all objects, as in the following example that releases the CustomerOrder object, which happens to be a ProcObject:
' Tell the AppServer to release the Persistent Proc
If Not (WS_custOrder.CustomerOrderIDValue Is Nothing) Then
        WS_custOrder.Release_CustomerOrder( )
        WS_custOrder.CustomerOrderIDValue = Nothing
End If