Share via


Site Class

Definition

[Microsoft.SharePoint.Client.ScriptType("SP.Site", ServerTypeId="{e1bb82e8-0d1e-4e52-b90c-684802ab4ef6}")]
public class Site : Microsoft.SharePoint.Client.ClientObject
type Site = class
    inherit ClientObject
Public Class Site
Inherits ClientObject
Inheritance
Attributes

Constructors

Site(ClientRuntimeContext, ObjectPath)

Properties

AllowCreateDeclarativeWorkflow
AllowDesigner
AllowExternalEmbeddingWrapper
AllowMasterPageEditing
AllowRevertFromTemplate
AllowSaveDeclarativeWorkflowAsTemplate
AllowSavePublishDeclarativeWorkflow
AllowSelfServiceUpgrade
AllowSelfServiceUpgradeEvaluation
Audit
AuditLogTrimmingRetention
CanUpgrade
Classification
CommentsOnSitePagesDisabled
CompatibilityLevel
ComplianceAttribute
Context (Inherited from ClientObject)
CurrentChangeToken
CustomScriptSafeDomains
DisableAppViews
DisableCompanyWideSharingLinks
DisableFlows
EventReceivers
ExternalSharingTipsEnabled
Features
GeoLocation
GroupId
HubSiteId
Id
IsHubSite
LockIssue
MaxItemsPerThrottledOperation
NeedsB2BUpgrade
ObjectData (Inherited from ClientObject)
ObjectVersion (Inherited from ClientObject)
Owner
Path (Inherited from ClientObject)
PrimaryUri
ReadOnly
RecycleBin
RequiredDesignerVersion
ResourcePath
RootWeb
SandboxedCodeActivationCapability
SecondaryContact
ServerObjectIsNull (Inherited from ClientObject)
ServerRelativePath
ServerRelativeUrl
ShareByEmailEnabled
ShareByLinkEnabled
ShowPeoplePickerSuggestionsForGuestUsers
ShowUrlStructure
SocialBarOnSitePagesDisabled
StatusBarLink
StatusBarText
Tag (Inherited from ClientObject)
ThicketSupportDisabled
TrimAuditLog
TypedObject (Inherited from ClientObject)
UIVersionConfigurationEnabled
UpgradeInfo
UpgradeReminderDate
UpgradeScheduled
UpgradeScheduledDate
Upgrading
Url
Usage
UserCustomActions

Methods

CheckUninitializedProperty(String) (Inherited from ClientObject)
CreateCopyJob(String[], String, CopyMigrationOptions)
CreateCopyJobs(String[], String, CopyMigrationOptions)
CreateMigrationIngestionJob(Guid, String, String, String, IngestionTaskKey)
CreateMigrationJob(Guid, String, String, String)
CreateMigrationJobEncrypted(Guid, String, String, String, EncryptionOption)
CreatePreviewSPSite(Boolean, Boolean)
CustomFromJson(JsonReader) (Inherited from ClientObject)
DeleteMigrationJob(Guid)
Exists(ClientRuntimeContext, String)
ExtendUpgradeReminderDate()
FromJson(JsonReader) (Inherited from ClientObject)
GetBringYourOwnKeySiteStatus()
GetBringYourOwnKeyTenantStatus()
GetCatalog(Int32)
GetChanges(ChangeQuery)
GetCopyJobProgress(CopyMigrationInfo)
GetCustomListTemplates(Web)
GetMigrationJobStatus(Guid)
GetMigrationStatus()
GetRecycleBinItems(String, Int32, Boolean, RecycleBinOrderBy, RecycleBinItemState)
GetUrlById(ClientRuntimeContext, Guid, Boolean)
GetWebPath(Guid, Guid)
GetWebTemplates(UInt32, Int32)
InitNonPropertyFieldFromJson(String, JsonReader) (Inherited from ClientObject)
InitOnePropertyFromJson(String, JsonReader)
Invalidate()
IsObjectPropertyInstantiated(String) (Inherited from ClientObject)
IsPropertyAvailable(String) (Inherited from ClientObject)
LoadExpandoFields() (Inherited from ClientObject)
NeedsUpgradeByType(Boolean, Boolean)
OnboardTenantForBringYourOwnKey(CustomerKeyInfo)
OpenWeb(String)
OpenWebById(Guid)
OpenWebUsingPath(ResourcePath)
ProvisionMigrationContainers()
ProvisionMigrationQueue()
RecoverTenantForBringYourOwnKey(CustomerKeyInfo)
RefreshLoad() (Inherited from ClientObject)
RemoveFromParentCollection() (Inherited from ClientObject)
Retrieve() (Inherited from ClientObject)
Retrieve(String[]) (Inherited from ClientObject)
RollTenantBringYourOwnKey(CustomerKeyVaultKeyType, CustomerKeyVaultInfo)
RunHealthCheck(Guid, Boolean, Boolean)
RunUpgradeSiteSession(Boolean, Boolean, Boolean)
UpdateClientObjectModelUseRemoteAPIsPermissionSetting(Boolean)
UpdateClientObjectPropertyType(String, Object, JsonReader) (Inherited from ClientObject)

Applies to