SPSiteAdministration 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 | |
---|---|---|
SPSiteAdministration(Guid) | Initializes a new instance of the SPSiteAdministration class as specified by the site ID. | |
SPSiteAdministration(String) | Initializes a new instance of the SPSiteAdministration class as specified by the URL. |
Top
Properties
Name | Description | |
---|---|---|
AdministrationSiteType | The administration site type of this site collection. | |
AllowSelfServiceUpgrade | whether version to version upgrade is allowed on this site. | |
AverageResourceUsage | Specifies the average resource usage of the site collection, over the configured window in days. | |
CurrentResourceUsage | Specifies the current resource usage of the site collection, to this point. | |
Description | Gets the description of the top-level site in the collection. | |
DiskUsed | Gets a value indicating the amount of disk space used by the site collection. | |
InheritAllowSelfServiceUpgradeSetting | whether the AllowSelfServiceUpgrade value is inherit from parent. | |
LockIssue | Gets or sets a value indicating the reason for the lock, or additional lock information. | |
OwnerDisplayName | Display name of the site owner. | |
OwnerEmail | Gets the e-mail address of the site owner. | |
OwnerLoginName | Gets or sets a value containing the user name of the site owner. | |
Quota | Gets or sets the quota definition for the site collection. | |
ReadLocked | Gets or sets a value indicating whether the site is blocked for read access. | |
ReadOnly | Gets or sets a Boolean value that specifies whether the site is run in read-only mode. | |
RootWebProvisioned | Gets the value that represents the provisioned status of the top-level site in the collection. | |
RootWebTemplate | Gets the value that represents the name of the template applied to the top-level site in the collection. | |
SecondaryContactDisplayName | Display name of the secondary site owner. | |
SecondaryContactEmail | Email address of the secondary site owner. | |
SecondaryContactLoginName | Gets or sets the value indicating the Login name of the secondary owner of the site collection. | |
SiteSubscription | The site subscription associated with this site. | |
Title | Returns the title of the top-level site in this site collection. | |
Url | Gets the URL of the top-level site in this site collection. | |
UsersCount | Get the number of users in this site collection. | |
WriteLocked | Gets or sets a value indicating whether the site is blocked for write access. |
Top
Methods
Name | Description | |
---|---|---|
AddWeb | Adds a new site with the specified properties to the site collection. | |
ApplyWebTemplate | Applies a template to the top-level site in the collection. | |
ClearMaintenanceMode | ||
CreatePreviewSPSite | Queues a request to create a preview site if there are none existing for the given site Throws InvalidOperationException if there is an request already or if there is an existing preview site for the given site | |
Delete() | Deletes the site collection. | |
Delete(Boolean) | Deletes the site collection with the option of deleting the Active Directory accounts for this site collection. | |
Delete(Boolean, Boolean) | Deletes the site collection with the option of deleting the Active Directory accounts for this site collection. | |
Dispose | Immediately releases the unmanaged resources used by the SPSite object. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top