Site properties
The Site type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllowCreateDeclarativeWorkflow | ||
AllowDesigner | Gets or sets a value that specifies whether a designer can be used on this site collection. | |
AllowMasterPageEditing | Gets or sets a value that specifies whether master page editing is allowed on this site collection. | |
AllowRevertFromTemplate | Gets or sets a value that specifies whether this site collection can be reverted to its base template. | |
AllowSaveDeclarativeWorkflowAsTemplate | ||
AllowSavePublishDeclarativeWorkflow | ||
AllowSelfServiceUpgrade | Whether version to version upgrade is allowed on this site. | |
AllowSelfServiceUpgradeEvaluation | Whether upgrade evaluation site collection is allowed. | |
Audit | ||
AuditLogTrimmingRetention | ||
CanUpgrade | Property indicating whether or not this object can be upgraded. | |
Classification | ||
CommentsOnSitePagesDisabled | ||
CompatibilityLevel | Gets the major version of this site collection for purposes of major version-level compatibility checks. | |
ComplianceAttribute | ||
Context | Returns the context that is associated with the client object. (Inherited from ClientObject.) | |
CurrentChangeToken | ||
DisableAppViews | ||
DisableCompanyWideSharingLinks | ||
DisableFlows | ||
EventReceivers | Provides event receivers for events that occur at the scope of the site collection. | |
ExternalSharingTipsEnabled | ||
Features | Gets a value that specifies the collection of the site collection features for the site collection that contains the site. | |
GeoLocation | ||
GroupId | ||
HubSiteId | ||
Id | ||
IsHubSite | ||
LockIssue | Gets or sets the comment that is used in locking a site collection. | |
MaxItemsPerThrottledOperation | Gets a value that specifies the maximum number of list items allowed per operation before throttling will occur. | |
NeedsB2BUpgrade | ||
ObjectData | Gets the object data for the current client object. (Inherited from ClientObject.) | |
ObjectVersion | Gets a string that indicates the version of the current client object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
Owner | Gets or sets the owner of the site collection. (Read-only in sandboxed solutions.) | |
Path | Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
PrimaryUri | Specifies the primary URI of this site collection, including the host name, port number, and path. | |
ReadOnly | Gets or sets a Boolean value that specifies whether the site collection is read-only, locked, and unavailable for write access. | |
RecycleBin | Gets a value that specifies the collection of Recycle Bin items for the site collection. | |
RequiredDesignerVersion | ||
ResourcePath | ||
RootWeb | Gets a value that returns the top-level site of the site collection. | |
SandboxedCodeActivationCapability | ||
SecondaryContact | ||
ServerObjectIsNull | Gets the server object and returns null if the server object is null. (Inherited from ClientObject.) | |
ServerRelativePath | ||
ServerRelativeUrl | Gets the server-relative URL of the root Web site in the site collection. | |
ShareByEmailEnabled | ||
ShareByLinkEnabled | Property that indicates whether users will be able to share links to documents that can be accessed without logging in. | |
ShowPeoplePickerSuggestionsForGuestUsers | ||
ShowUrlStructure | Gets or sets a value that specifies whether the URL structure of this site collection is viewable. | |
SocialBarOnSitePagesDisabled | ||
StatusBarLink | ||
StatusBarText | ||
Tag | Gets or sets data that is associated with the client object. (Inherited from ClientObject.) | |
ThicketSupportDisabled | ||
TrimAuditLog | ||
TypedObject | Gets the object with the correct type information returned from the server. (Inherited from ClientObject.) | |
UIVersionConfigurationEnabled | Gets or sets a value that specifies whether the Visual Upgrade UI of this site collection is displayed. | |
UpgradeInfo | Specifies the upgrade information of this site collection. | |
UpgradeReminderDate | Specifies a date, after which site collection administrators will be reminded to upgrade the site collection. | |
UpgradeScheduled | ||
UpgradeScheduledDate | ||
Upgrading | Specifies whether the site is currently upgrading. | |
Url | Gets the full URL to the root Web site of the site collection, including host name, port number, and path. | |
Usage | Gets a value that specifies usage information about the site, including bandwidth, storage, and the number of visits to the site collection. | |
UserCustomActions | Gets a value that specifies the collection of user custom actions for the site collection. |
Top