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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.