Private Sub expression_OnAfterPublish(Success As Boolean)
expression A variable name which references an object of type WebEx declared with events in a class module.
Success A Boolean that determines if the publish operation was successful. If True, then the Web site was successfully published.
Example
The following example displays a message to the user based on the result of the Publish method.
Private Sub objWeb_OnAfterPublish(Success As Boolean)
'Occurs after a web is published
If Success = True Then
MsgBox "The web was published successfully."
Else
MsgBox "An error occurred, the web was not published.", vbExclamation
End If
End Sub