Application.OnWebNew Event
SharePoint Designer Developer Reference |
Occurs when a new Web site is created.
Syntax
Private Sub expression_OnWebNew(ByVal pWeb As Web)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
pWeb | Required | Web | The new Web site. |
Remarks
The OnWebNew event is associated with the Application object. When the user creates a new Web site, the OnWebNew event fires and executes the code within the event procedure.
See Also