SPWebEventProperties Members
Include Protected Members
Include Inherited Members
Contains properties for Web site events.
The SPWebEventProperties type exposes the following members.
Properties
Name | Description | |
---|---|---|
Cancel | Gets or sets a Boolean value that indicates whether to cancel the event. (Inherited from SPEventPropertiesBase.) | |
ErrorMessage | Gets or sets the error message that Microsoft SharePoint Foundation displays when an event is cancelled. (Inherited from SPEventPropertiesBase.) | |
EventType | Gets the type of the event. (Inherited from SPEventPropertiesBase.) | |
EventUserToken | Represents the current user at the time the specified event is fired. (Inherited from SPEventPropertiesBase.) | |
FullUrl | Gets the absolute URL of the Web site for which the event occurs. | |
NewServerRelativeUrl | Gets a server-relative URL that represents the address of the Web site after it has been moved. | |
OriginatingUserToken | Gets the token of the user who makes the request. (Inherited from SPEventPropertiesBase.) | |
ParentWebId | Gets the unique identifier of parent Web. This property is only valid when used with the WebAdding(SPWebEventProperties) event. To get the ID for the After event, WebProvisioned(SPWebEventProperties), use the WebId property. | |
ReceiverData | Gets a string that contains data about the event. (Inherited from SPEventPropertiesBase.) | |
RedirectUrl | A URL to redirect to when the status of SPEventReceiverStatus is CancelWithRedirectUrl. (Inherited from SPEventPropertiesBase.) | |
ServerRelativeUrl | Gets a server-relative URL that represents the address of the Web site before it was moved, or gets the current server-relative URL if a Web site is renamed. | |
SiteId | Gets the site ID of the event. (Inherited from SPEventPropertiesBase.) | |
Status | Gets or sets the status of trapping the event. (Inherited from SPEventPropertiesBase.) | |
UserDisplayName | Gets the display name of the user whose action caused the event. | |
UserLoginName | Gets the user name of the user whose action caused the event. | |
Web | Gets the Web site for which the event occurred. | |
WebId | Gets the ID of the Web site for which the event occurred. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Disposes of the object or objects in use and releases their resources. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InvalidateWeb | Releases the current SPWeb object. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top