Share via


SPAlertCollection.Site property

Gets the parent site collection for the collection. This property is deprecated.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Site As SPSite
    Get
'Usage
Dim instance As SPAlertCollection
Dim value As SPSite

value = instance.Site
public SPSite Site { get; }

Property value

Type: Microsoft.SharePoint.SPSite
A Microsoft.SharePoint.SPSite object that represents the 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