IScriptingEventsOnAfterReadReplicationFile Method |
Called after a replication file has been read (for each file if multiple files are read in one operation); exactly the given file has been written
Namespace:
SuperOffice.COM.ScriptEvents
Assembly:
Scripting.Interop (in Scripting.Interop.dll) Version: 8.0.0.0
Syntaxvoid OnAfterReadReplicationFile(
int travellerid,
int filenumber,
string filepath
)
Sub OnAfterReadReplicationFile (
travellerid As Integer,
filenumber As Integer,
filepath As String
)
Dim instance As IScriptingEvents
Dim travellerid As Integer
Dim filenumber As Integer
Dim filepath As String
instance.OnAfterReadReplicationFile(travellerid,
filenumber, filepath)
void OnAfterReadReplicationFile(
[InAttribute] int travellerid,
[InAttribute] int filenumber,
[InAttribute] String^ filepath
)
Parameters
- travellerid
- Type: SystemInt32
- filenumber
- Type: SystemInt32
- filepath
- Type: SystemString
ExamplesDescription
This text may be copied to the notepad, and saved as a *.vbs file.
Sub OnAfterReadReplicationFile
If Database.DataSourceVariant = 1 Then
SOMessageBox "Check you diary for new appointments made by your co-workers."
ElseIf Database.DataSourceVariant = 0 Then
SOMessageBox "New information added"
ElseIf Database.DataSourceVariant = 2 Then
SOMessageBox "New information added"
End If
End Sub
See Also