Synchronizes databases.
[Visual Basic]
Public Function Synchronize( _
ByVal targetFileName1 As String, _
ByVal targetFileName2 As String _
) As Boolean
[C#]
public bool Synchronize(
string targetFileName1,
string targetFileName2
);
Parameters
-
targetFileName1
- Filename.
-
targetFileName2
- Filename.
Return Value
Returns true if successful; otherwise false.
Remarks
Can synchronize both database files, by sending and receiving the alteration data of the specified databases by parameters.
Example
How to synchronize database files C:\Replica1.mdb and C:\Replica2.mdb.
dao.Synchronize("C:\Replica1.mdb", "C:\Replica2.mdb")
dao.Synchronize("C:\\Replica1.mdb", "C:\\Replica2.mdb");
See Also
AwDao Class | Asterworld.Data Namespace