SPAlertCollection.Web Property

Gets the parent Web site of the collection. This property is deprecated.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public SPWeb Web { get; }

Property Value

Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the Web site.

Caution noteCaution

While this feature is still supported in the current product version, it may be removed in the future. If you write new applications, avoid using this deprecated feature, which is maintained only for backward compatibility. If you modify existing applications, you are strongly encouraged to remove any dependency on this feature.