Partilhar via


SPRecycleBinItemCollection.Site Property

Gets the parent site collection of the site-collection Recycle Bin.

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 SPRecycleBinItemCollection
Dim value As SPSite

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

Property Value

Type: Microsoft.SharePoint.SPSite
An SPSite object that represents the parent site collection.

See Also

Reference

SPRecycleBinItemCollection Class

SPRecycleBinItemCollection Members

Microsoft.SharePoint Namespace