Share via


SPSiteAdministration Members

Include Protected Members
Include Inherited Members

Provides an abstraction for operations that require administrator access to the content space of a site collection.

The SPSiteAdministration type exposes the following members.

Constructors

  Name Description
Public method SPSiteAdministration(Guid) Initializes a new instance of the SPSiteAdministration class as specified by the site ID.
Public method SPSiteAdministration(String) Initializes a new instance of the SPSiteAdministration class as specified by the URL.

Top

Properties

  Name Description
Public property AdministrationSiteType
Public property AverageResourceUsage
Public property CurrentResourceUsage
Public property Description Gets the description of the top-level site in the collection.
Public property DiskUsed Gets a value indicating the amount of disk space used by the site collection.
Public property LockIssue Gets or sets a value indicating the reason for the lock, or additional lock information.
Public property OwnerEmail Gets the e-mail address of the site owner.
Public property OwnerLoginName Gets or sets a value containing the user name of the site owner.
Public property Quota Gets or sets the quota definition for the site collection.
Public property ReadLocked Gets or sets a value indicating whether the site is blocked for read access.
Public property ReadOnly Gets or sets a Boolean value that specifies whether the site is run in read-only mode.
Public property RootWebProvisioned Gets the value that represents the provisioned status of the top-level site in the collection.
Public property RootWebTemplate Gets the value that represents the name of the template applied to the top-level site in the collection.
Public property SecondaryContactLoginName Gets or sets the value indicating the Login name of the secondary owner of the site collection.
Public property SiteSubscription
Public property Title Returns the title of the top-level site in this site collection.
Public property Url Gets the URL of the top-level site in this site collection.
Public property UsersCount Get the number of users in this site collection.
Public property WriteLocked Gets or sets a value indicating whether the site is blocked for write access.

Top

Methods

  Name Description
Public method AddWeb Adds a new site with the specified properties to the site collection.
Public method ApplyWebTemplate Applies a template to the top-level site in the collection.
Public method Delete() Deletes the site collection.
Public method Delete(Boolean) Deletes the site collection with the option of deleting the Active Directory accounts for this site collection.
Public method Delete(Boolean, Boolean) Deletes the site collection with the option of deleting the Active Directory accounts for this site collection.
Public method Dispose Immediately releases the unmanaged resources used by the SPSite object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPSiteAdministration Class

Microsoft.SharePoint.Administration Namespace