Click or drag to resize

DbServer.Shared Property

X#
A logical value indicating whether the server is sharable or exclusive.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.21
Syntax
 VIRTUAL PROPERTY Shared AS USUAL GET 
Request Example View Source

Property Value

Type: Usual
A logical value indicating whether the server is sharable or exclusive.
Remarks
A logical value indicating whether the server is sharable or exclusive. DBServer:Shared is determined by an instantiation parameter of the server; if not specified, the default set by SetExclusive() is used.
Examples
This example function processes updates against the server only if the Shared property is FALSE; otherwise, the function returns FALSE:
X#
 1FUNCTION SalesUpdates(oDBServer)
 2...
 3IF oDBServer:Shared
 4RETURN FALSE
 5ELSE
 6.
 7. <Statements TO update server>
 8.
 9RETURN TRUE
10ENDIF
See Also