ArcFM Responder Mobile Developer Guide
LockTable Method






Creates an exclusive-lock on the specified table until the end-of-transaction.
Syntax
'Declaration
 
Public Function LockTable( _
   ByVal session As DataSession, _
   ByVal tableName As System.String _
) As System.Integer
'Usage
 
Dim instance As DataSource
Dim session As DataSession
Dim tableName As System.String
Dim value As System.Integer
 
value = instance.LockTable(session, tableName)
public System.int LockTable( 
   DataSession session,
   System.string tableName
)
public function LockTable( 
    session: DataSession;
    tableName: System.String
): System.Integer; 
public function LockTable( 
   session : DataSession,
   tableName : System.String
) : System.int;
public: System.int LockTable( 
   DataSession* session,
   System.string* tableName
) 
public:
System.int LockTable( 
   DataSession^ session,
   System.String^ tableName
) 

Parameters

session
tableName
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

Reference

DataSource Class
DataSource Members

Send Feedback