VistaDB 5






VistaDB.Extra Namespace > VistaDBDataTable Class : OptimisticLock Property
OptimisticLock Property
Gets or sets locking mode
Syntax
'Declaration
 
Public Property OptimisticLock As System.Boolean
'Usage
 
Dim instance As VistaDBDataTable
Dim value As System.Boolean
 
instance.OptimisticLock = value
 
value = instance.OptimisticLock
public System.bool OptimisticLock {get; set;}
public read-write property OptimisticLock: System.Boolean; 
public function get,set OptimisticLock : System.boolean
public: __property System.bool get_OptimisticLock();
public: __property void set_OptimisticLock( 
   System.bool value
);
public:
property System.bool OptimisticLock {
   System.bool get();
   void set (    System.bool value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also