Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of sites in a Web application, including a top-level Web site and all its subsites. Each SPSite object, or site collection, is represented within an SPSiteCollection object that consists of the collection of all site collections in the Web application.
public ref class SPSite : IDisposable, Microsoft::SharePoint::Administration::IUpgradable
[Microsoft.SharePoint.Client.ClientCallableType(FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="Site", ObjectIdentityPropertyName="CanonicalId", SampleUrl="{apiroot}/site", ServerTypeId="{E1BB82E8-0D1E-4e52-B90C-684802AB4EF6}")]
[Microsoft.SharePoint.Client.SubsetCallableExcludeInterface(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.InternalInterface, ExcludeInterface=typeof(Microsoft.SharePoint.ISPWorkItemHost))]
[Microsoft.SharePoint.Client.SubsetCallableExcludeInterface(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.InternalInterface, ExcludeInterface=typeof(Microsoft.SharePoint.Administration.IUpgradable))]
[Microsoft.SharePoint.Client.SubsetCallableType]
[Microsoft.SharePoint.Upgrade.Upgradable]
public class SPSite : IDisposable, Microsoft.SharePoint.Administration.IUpgradable
type SPSite = class
interface IDisposable
interface IUpgradable
Public Class SPSite
Implements IDisposable, IUpgradable