DbServer.ReadOnly Property (Typed) | |
A logical value indicating whether the file was opened as a read-only file. This is determined by an instantiation parameter of the server.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY ReadOnly AS LOGIC GET
public virtual bool ReadOnly { get; }
Request Example
View SourceProperty Value
Type:
LogicA logical value indicating whether the file was opened as a read-only file. This is determined by an instantiation parameter of the server.
Examples
This example function processes updates against the server only if the ReadOnly property is FALSE; otherwise, the function returns FALSE:
1FUNCTION SalesUpdates(oDBServer)
2...
3IF oDBServer:ReadOnly
4RETURN FALSE
5ELSE
6.
7. <Statements TO update server>
8.
9RETURN TRUE
10ENDIF
See Also