Share via


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)

Syntax

'Declaration
Public ReadOnly Property Web As SPWeb
    Get
'Usage
Dim instance As SPAlertCollection
Dim value As SPWeb

value = instance.Web
public SPWeb Web { get; }

Property value

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

Remarks

Warning

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.

See also

Reference

SPAlertCollection class

SPAlertCollection members

Microsoft.SharePoint namespace