Application.OnAfterWebPublish Event
SharePoint Designer Developer Reference |
Occurs after a Web site is published.
Syntax
Private Sub expression_OnAfterWebPublish(ByVal pWeb As Web, Success As Boolean)
expression A variable that represents an Application object that has been declared by using the WithEvents option in a class module.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
pWeb | Required | Web | The Web site that has been published. |
Success | Required | Boolean | True if the specified Web site was successfully published. |
Remarks
The OnAfterWebPublish event is associated with the Application object. After the user publishes a Web site, the OnAfterWebPublish event fires and executes the code that you specified within the event procedure.
See Also