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 | |
---|---|---|
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 | ||
AverageResourceUsage | ||
CurrentResourceUsage | ||
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. | |
LockIssue | Gets or sets a value indicating the reason for the lock, or additional lock information. | |
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. | |
SecondaryContactLoginName | Gets or sets the value indicating the Login name of the secondary owner of the site collection. | |
SiteSubscription | ||
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. | |
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