MakeReplicable Method Example (JRO)

Office Jet and Replication Object

Microsoft Jet and Replication Objects

MakeReplicable Method Example

This example demonstrates how to create a Design Master with the MakeReplicable method.

Public Sub MakeRep()

' This code example demonstrates how to use
' MakeReplicable by specifying the ConnectionString parameter.
' NOTE: This connection string does not need to explictly specify
' exclusive connection mode, JRO does this automatically.

   Dim repDM As New JRO.Replica
   ' Make northwind.mdb replicable with record level tracking
   repDM.MakeReplicable "C:\Program Files\Microsoft Office\" & _
      "Office\Samples\Northwind.mdb", False

End Sub