Expand Minimize

SPSite Transformation

Mappings for SharePoint class Microsoft.SharePoint.SPSite

Type Mapping

Constructors

SSOM System.Void .ctor(Microsoft.SharePoint.Administration.SPFarm, System.Uri, System.Boolean, Microsoft.SharePoint.SPUserToken)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.Guid, Microsoft.SharePoint.Administration.SPFarm, Microsoft.SharePoint.Administration.SPUrlZone, Microsoft.SharePoint.SPUserToken)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(Microsoft.SharePoint.Administration.SPFarm, System.Uri, System.Boolean)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(Microsoft.SharePoint.Administration.SPContentDatabase, System.Uri, System.Boolean)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.String)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.String, Microsoft.SharePoint.SPUserToken)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.Guid, Microsoft.SharePoint.Administration.SPFarm, Microsoft.SharePoint.Administration.SPUrlZone)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.Guid)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.Guid, Microsoft.SharePoint.Administration.SPUrlZone)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.Guid, Microsoft.SharePoint.SPUserToken)
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void .ctor(System.Guid, Microsoft.SharePoint.Administration.SPUrlZone, Microsoft.SharePoint.SPUserToken)
CSOM ctor(ClientRuntimeContext,ObjectPath)

Properties

SSOM System.Boolean get_AllowDesigner()
CSOM Boolean Site.get_AllowDesigner()
JSOM boolean SP.Site.get_allowDesigner()
REST POST http://[sitecollection]/[site]/_api/site/allowDesigner
REST GET http://[sitecollection]/[site]/_api/site/allowDesigner
SSOM System.Boolean get_AllowMasterPageEditing()
CSOM Boolean Site.get_AllowMasterPageEditing()
JSOM boolean SP.Site.get_allowMasterPageEditing()
REST POST http://[sitecollection]/[site]/_api/site/allowMasterPageEditing
REST GET http://[sitecollection]/[site]/_api/site/allowMasterPageEditing
SSOM System.Boolean get_AllowRevertFromTemplate()
CSOM Boolean Site.get_AllowRevertFromTemplate()
JSOM boolean SP.Site.get_allowRevertFromTemplate()
REST POST http://[sitecollection]/[site]/_api/site/allowRevertFromTemplate
REST GET http://[sitecollection]/[site]/_api/site/allowRevertFromTemplate
SSOM System.Boolean get_AllowSelfServiceUpgrade()
CSOM Boolean Site.get_AllowSelfServiceUpgrade()
JSOM boolean SP.Site.get_allowSelfServiceUpgrade()
REST POST http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgrade
REST GET http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgrade
SSOM System.Boolean get_AllowSelfServiceUpgradeEvaluation()
CSOM Boolean Site.get_AllowSelfServiceUpgradeEvaluation()
JSOM boolean SP.Site.get_allowSelfServiceUpgradeEvaluation()
REST POST http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgradeEvaluation
REST GET http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgradeEvaluation
SSOM Microsoft.SharePoint.SPWebCollection get_AllWebs()
CSOM Web Site.get_RootWeb()
JSOM Web SP.Site.get_rootWeb()
REST POST http://[sitecollection]/[site]/_api/site/rootWeb
REST GET http://[sitecollection]/[site]/_api/site/rootWeb
SSOM Microsoft.SharePoint.SPAudit get_Audit()
CSOM Audit Site.get_Audit()
SSOM System.Int32 get_AuditLogTrimmingRetention()
CSOM Int32 Site.get_AuditLogTrimmingRetention()
SSOM System.Boolean get_CanUpgrade()
CSOM Boolean Site.get_CanUpgrade()
JSOM boolean SP.Site.get_canUpgrade()
REST POST http://[sitecollection]/[site]/_api/site/canUpgrade
REST GET http://[sitecollection]/[site]/_api/site/canUpgrade
SSOM System.Int32 get_CompatibilityLevel()
CSOM Int32 Site.get_CompatibilityLevel()
JSOM number SP.Site.get_compatibilityLevel()
REST POST http://[sitecollection]/[site]/_api/site/compatibilityLevel
REST GET http://[sitecollection]/[site]/_api/site/compatibilityLevel
SSOM Microsoft.SharePoint.SPEventReceiverDefinitionCollection get_EventReceivers()
CSOM EventReceiverDefinitionCollection Site.get_EventReceivers()
JSOM EventReceiverDefinitionCollection SP.Site.get_eventReceivers()
REST POST http://[sitecollection]/[site]/_api/site/eventReceivers
REST GET http://[sitecollection]/[site]/_api/site/eventReceivers
SSOM Microsoft.SharePoint.SPFeatureCollection get_Features()
CSOM FeatureCollection Site.get_Features()
JSOM FeatureCollection SP.Site.get_features()
REST POST http://[sitecollection]/[site]/_api/site/features
REST GET http://[sitecollection]/[site]/_api/site/features
SSOM System.Guid get_ID()
CSOM Guid Site.get_Id()
JSOM Guid SP.Site.get_id()
REST POST http://[sitecollection]/[site]/_api/site/id
REST GET http://[sitecollection]/[site]/_api/site/id
SSOM System.String get_LockIssue()
CSOM String Site.get_LockIssue()
JSOM string SP.Site.get_lockIssue()
REST POST http://[sitecollection]/[site]/_api/site/lockIssue
REST GET http://[sitecollection]/[site]/_api/site/lockIssue
SSOM System.UInt32 get_MaxItemsPerThrottledOperation_Client()
CSOM UInt32 Site.get_MaxItemsPerThrottledOperation()
JSOM number SP.Site.get_maxItemsPerThrottledOperation()
REST POST http://[sitecollection]/[site]/_api/site/maxItemsPerThrottledOperation
REST GET http://[sitecollection]/[site]/_api/site/maxItemsPerThrottledOperation
SSOM Microsoft.SharePoint.SPUser get_Owner()
CSOM User Site.get_Owner()
JSOM User SP.Site.get_owner()
REST POST http://[sitecollection]/[site]/_api/site/owner
REST GET http://[sitecollection]/[site]/_api/site/owner
SSOM System.Uri get_PrimaryUri()
CSOM String Site.get_PrimaryUri()
JSOM string SP.Site.get_primaryUri()
REST POST http://[sitecollection]/[site]/_api/site/primaryUri
REST GET http://[sitecollection]/[site]/_api/site/primaryUri
SSOM System.Boolean get_ReadOnly()
CSOM Boolean Site.get_ReadOnly()
JSOM boolean SP.Site.get_readOnly()
REST POST http://[sitecollection]/[site]/_api/site/readOnly
REST GET http://[sitecollection]/[site]/_api/site/readOnly
SSOM Microsoft.SharePoint.SPRecycleBinItemCollection get_RecycleBin()
CSOM RecycleBinItemCollection Site.get_RecycleBin()
JSOM RecycleBinItemCollection SP.Site.get_recycleBin()
REST POST http://[sitecollection]/[site]/_api/site/recycleBin
REST GET http://[sitecollection]/[site]/_api/site/recycleBin
SSOM Microsoft.SharePoint.SPWeb get_RootWeb()
CSOM Web Site.get_RootWeb()
JSOM Web SP.Site.get_rootWeb()
REST POST http://[sitecollection]/[site]/_api/site/rootWeb
REST GET http://[sitecollection]/[site]/_api/site/rootWeb
SSOM Microsoft.SharePoint.SPUser get_SecondaryContact()
CSOM User Site.get_SecondaryContact()
SSOM System.String get_ServerRelativeUrl()
CSOM String Site.get_ServerRelativeUrl()
JSOM string SP.Site.get_serverRelativeUrl()
REST POST http://[sitecollection]/[site]/_api/site/serverRelativeUrl
REST GET http://[sitecollection]/[site]/_api/site/serverRelativeUrl
SSOM System.Boolean get_ShareByEmailEnabled()
CSOM Boolean Site.get_ShareByEmailEnabled()
SSOM System.Boolean get_ShareByLinkEnabled()
CSOM Boolean Site.get_ShareByLinkEnabled()
JSOM boolean SP.Site.get_shareByLinkEnabled()
REST POST http://[sitecollection]/[site]/_api/site/shareByLinkEnabled
REST GET http://[sitecollection]/[site]/_api/site/shareByLinkEnabled
SSOM System.Boolean get_ShowURLStructure()
CSOM Boolean Site.get_ShowUrlStructure()
JSOM boolean SP.Site.get_showUrlStructure()
REST POST http://[sitecollection]/[site]/_api/site/showUrlStructure
REST GET http://[sitecollection]/[site]/_api/site/showUrlStructure
SSOM System.Boolean get_TrimAuditLog()
CSOM Boolean Site.get_TrimAuditLog()
SSOM System.Boolean get_UIVersionConfigurationEnabled()
CSOM Boolean Site.get_UIVersionConfigurationEnabled()
JSOM boolean SP.Site.get_uIVersionConfigurationEnabled()
REST POST http://[sitecollection]/[site]/_api/site/uiVersionConfigurationEnabled
REST GET http://[sitecollection]/[site]/_api/site/uiVersionConfigurationEnabled
SSOM Microsoft.SharePoint.SPSiteUpgradeInfo get_UpgradeInfo()
CSOM UpgradeInfo Site.get_UpgradeInfo()
JSOM UpgradeInfo SP.Site.get_upgradeInfo()
REST POST http://[sitecollection]/[site]/_api/site/upgradeInfo
REST GET http://[sitecollection]/[site]/_api/site/upgradeInfo
SSOM System.DateTime get_UpgradeReminderDate()
CSOM DateTime Site.get_UpgradeReminderDate()
JSOM Date SP.Site.get_upgradeReminderDate()
REST POST http://[sitecollection]/[site]/_api/site/upgradeReminderDate
REST GET http://[sitecollection]/[site]/_api/site/upgradeReminderDate
SSOM System.Boolean get_Upgrading()
CSOM Boolean Site.get_Upgrading()
JSOM boolean SP.Site.get_upgrading()
REST POST http://[sitecollection]/[site]/_api/site/upgrading
REST GET http://[sitecollection]/[site]/_api/site/upgrading
SSOM System.String get_Url()
CSOM String Site.get_Url()
JSOM string SP.Site.get_url()
REST POST http://[sitecollection]/[site]/_api/site/url
REST GET http://[sitecollection]/[site]/_api/site/url
SSOM Microsoft.SharePoint.SPSite/UsageInfo get_Usage()
CSOM UsageInfo Site.get_Usage()
JSOM UsageInfo SP.Site.get_usage()
REST POST http://[sitecollection]/[site]/_api/site/usage
REST GET http://[sitecollection]/[site]/_api/site/usage
SSOM Microsoft.SharePoint.SPUserCustomActionCollection get_UserCustomActions()
CSOM UserCustomActionCollection Site.get_UserCustomActions()
JSOM UserCustomActionCollection SP.Site.get_userCustomActions()
REST POST http://[sitecollection]/[site]/_api/site/userCustomActions
REST GET http://[sitecollection]/[site]/_api/site/userCustomActions
SSOM System.Void set_AllowDesigner(System.Boolean)
CSOM Site.set_AllowDesigner(Boolean)
JSOM SP.Site.set_allowDesigner()
REST POST http://[sitecollection]/[site]/_api/site/allowDesigner
REST GET http://[sitecollection]/[site]/_api/site/allowDesigner
SSOM System.Void set_AllowMasterPageEditing(System.Boolean)
CSOM Site.set_AllowMasterPageEditing(Boolean)
JSOM SP.Site.set_allowMasterPageEditing()
REST POST http://[sitecollection]/[site]/_api/site/allowMasterPageEditing
REST GET http://[sitecollection]/[site]/_api/site/allowMasterPageEditing
SSOM System.Void set_AllowRevertFromTemplate(System.Boolean)
CSOM Site.set_AllowRevertFromTemplate(Boolean)
JSOM SP.Site.set_allowRevertFromTemplate()
REST POST http://[sitecollection]/[site]/_api/site/allowRevertFromTemplate
REST GET http://[sitecollection]/[site]/_api/site/allowRevertFromTemplate
SSOM System.Void set_AllowSelfServiceUpgrade(System.Boolean)
CSOM Site.set_AllowSelfServiceUpgrade(Boolean)
JSOM SP.Site.set_allowSelfServiceUpgrade()
REST POST http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgrade
REST GET http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgrade
SSOM System.Void set_AllowSelfServiceUpgradeEvaluation(System.Boolean)
CSOM Site.set_AllowSelfServiceUpgradeEvaluation(Boolean)
JSOM SP.Site.set_allowSelfServiceUpgradeEvaluation()
REST POST http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgradeEvaluation
REST GET http://[sitecollection]/[site]/_api/site/allowSelfServiceUpgradeEvaluation
SSOM System.Void set_AuditLogTrimmingRetention(System.Int32)
CSOM Site.set_AuditLogTrimmingRetention(Int32)
SSOM System.Void set_Owner(Microsoft.SharePoint.SPUser)
CSOM Site.set_Owner(User)
JSOM SP.Site.set_owner()
REST POST http://[sitecollection]/[site]/_api/site/owner
REST GET http://[sitecollection]/[site]/_api/site/owner
SSOM System.Void set_SecondaryContact(Microsoft.SharePoint.SPUser)
CSOM Site.set_SecondaryContact(User)
SSOM System.Void set_ShareByEmailEnabled(System.Boolean)
CSOM Site.set_ShareByEmailEnabled(Boolean)
SSOM System.Void set_ShowURLStructure(System.Boolean)
CSOM Site.set_ShowUrlStructure(Boolean)
JSOM SP.Site.set_showUrlStructure()
REST POST http://[sitecollection]/[site]/_api/site/showUrlStructure
REST GET http://[sitecollection]/[site]/_api/site/showUrlStructure
SSOM System.Void set_TrimAuditLog(System.Boolean)
CSOM Site.set_TrimAuditLog(Boolean)
SSOM System.Void set_UIVersionConfigurationEnabled(System.Boolean)
CSOM Site.set_UIVersionConfigurationEnabled(Boolean)
JSOM SP.Site.set_uIVersionConfigurationEnabled()
REST POST http://[sitecollection]/[site]/_api/site/uiVersionConfigurationEnabled
REST GET http://[sitecollection]/[site]/_api/site/uiVersionConfigurationEnabled

Methods

SSOM System.Void .cctor()
CSOM ctor(ClientRuntimeContext,ObjectPath)
SSOM System.Void CreatePreviewSPSite(System.Boolean, System.Boolean)
CSOM Site.CreatePreviewSPSite(Boolean,Boolean)
JSOM SP.Site.createPreviewSPSite(boolean,boolean)
REST POST http://[sitecollection]/[site]/_api/site/createPreviewSPSite(upgrade,sendemail)
SSOM System.Void CreatePreviewSPSiteBypassAllowUpgradeCheck(System.Boolean, System.Boolean)
CSOM Site.CreatePreviewSPSite(Boolean,Boolean)
JSOM SP.Site.createPreviewSPSite(boolean,boolean)
REST POST http://[sitecollection]/[site]/_api/site/createPreviewSPSite(upgrade,sendemail)
SSOM System.Void ExtendUpgradeReminderDate()
CSOM Site.ExtendUpgradeReminderDate()
JSOM SP.Site.extendUpgradeReminderDate()
REST POST http://[sitecollection]/[site]/_api/site/extendUpgradeReminderDate()
SSOM Microsoft.SharePoint.SPList GetCatalog(Microsoft.SharePoint.SPListTemplateType)
CSOM List Site.GetCatalog(Int32)
JSOM List SP.Site.getCatalog(number)
REST POST http://[sitecollection]/[site]/_api/site/getCatalog(typeCatalog)
SSOM Microsoft.SharePoint.SPList GetCatalog(Microsoft.SharePoint.SPListTemplateType, System.Boolean)
CSOM List Site.GetCatalog(Int32)
JSOM List SP.Site.getCatalog(number)
REST POST http://[sitecollection]/[site]/_api/site/getCatalog(typeCatalog)
SSOM Microsoft.SharePoint.SPList GetCatalog_Client(System.Int32)
CSOM List Site.GetCatalog(Int32)
JSOM List SP.Site.getCatalog(number)
REST POST http://[sitecollection]/[site]/_api/site/getCatalog(typeCatalog)
SSOM Microsoft.SharePoint.SPChangeCollection GetChanges()
CSOM ChangeCollection Site.GetChanges(ChangeQuery)
JSOM ChangeCollection SP.Site.getChanges(ChangeQuery)
REST POST http://[sitecollection]/[site]/_api/site/getChanges(query)
SSOM Microsoft.SharePoint.SPChangeCollection GetChanges(Microsoft.SharePoint.SPChangeToken)
CSOM ChangeCollection Site.GetChanges(ChangeQuery)
JSOM ChangeCollection SP.Site.getChanges(ChangeQuery)
REST POST http://[sitecollection]/[site]/_api/site/getChanges(query)
SSOM Microsoft.SharePoint.SPChangeCollection GetChanges(Microsoft.SharePoint.SPChangeQuery)
CSOM ChangeCollection Site.GetChanges(ChangeQuery)
JSOM ChangeCollection SP.Site.getChanges(ChangeQuery)
REST POST http://[sitecollection]/[site]/_api/site/getChanges(query)
SSOM Microsoft.SharePoint.SPChangeCollection GetChanges(Microsoft.SharePoint.SPChangeToken, Microsoft.SharePoint.SPChangeToken, System.Boolean, System.Int64)
CSOM ChangeCollection Site.GetChanges(ChangeQuery)
JSOM ChangeCollection SP.Site.getChanges(ChangeQuery)
REST POST http://[sitecollection]/[site]/_api/site/getChanges(query)
SSOM Microsoft.SharePoint.SPChangeCollection GetChanges(Microsoft.SharePoint.SPChangeToken, Microsoft.SharePoint.SPChangeToken)
CSOM ChangeCollection Site.GetChanges(ChangeQuery)
JSOM ChangeCollection SP.Site.getChanges(ChangeQuery)
REST POST http://[sitecollection]/[site]/_api/site/getChanges(query)
SSOM Microsoft.SharePoint.SPListTemplateCollection GetCustomListTemplates(Microsoft.SharePoint.SPWeb)
CSOM ListTemplateCollection Site.GetCustomListTemplates(Web)
JSOM ListTemplateCollection SP.Site.getCustomListTemplates(Web)
REST POST http://[sitecollection]/[site]/_api/site/getCustomListTemplates(web)
SSOM Microsoft.SharePoint.SPWebTemplateCollection GetWebTemplates(System.UInt32)
CSOM WebTemplateCollection Site.GetWebTemplates(UInt32,Int32)
JSOM WebTemplateCollection SP.Site.getWebTemplates(number,number)
REST POST http://[sitecollection]/[site]/_api/site/getWebTemplates(LCID,overrideCompatLevel)
SSOM System.Void Invalidate()
CSOM Site.Invalidate()
JSOM SP.Site.invalidate()
REST POST http://[sitecollection]/[site]/_api/site/invalidate()
SSOM System.Void InvalidateCacheEntries(System.Guid, System.Uri, System.Collections.Generic.Dictionary`2<System.Guid, Microsoft.SharePoint.SPSite/SiteUrlInfo>)
CSOM Site.Invalidate()
JSOM SP.Site.invalidate()
REST POST http://[sitecollection]/[site]/_api/site/invalidate()
SSOM System.Boolean InvalidateCacheEntry(System.Uri, System.Guid)
CSOM Site.Invalidate()
JSOM SP.Site.invalidate()
REST POST http://[sitecollection]/[site]/_api/site/invalidate()
SSOM System.Void InvalidateSite()
CSOM Site.Invalidate()
JSOM SP.Site.invalidate()
REST POST http://[sitecollection]/[site]/_api/site/invalidate()
SSOM System.Void InvalidateWeb(Microsoft.SharePoint.SPWeb)
CSOM Site.Invalidate()
JSOM SP.Site.invalidate()
REST POST http://[sitecollection]/[site]/_api/site/invalidate()
SSOM System.Boolean NeedsUpgradeByType(System.Boolean, System.Boolean)
CSOM ClientResult Site.NeedsUpgradeByType(Boolean,Boolean)
JSOM BooleanResult SP.Site.needsUpgradeByType(boolean,boolean)
REST POST http://[sitecollection]/[site]/_api/site/needsUpgradeByType(versionUpgrade,recursive)
SSOM Microsoft.SharePoint.SPWeb OpenWeb(System.Guid)
CSOM Web Site.OpenWeb(String)
CSOM Web Site.OpenWebById(Guid)
JSOM Web SP.Site.openWeb(string)
JSOM Web SP.Site.openWebById(Guid)
REST POST http://[sitecollection]/[site]/_api/site/openWeb(strUrl)
SSOM Microsoft.SharePoint.SPWeb OpenWeb()
CSOM Web Site.OpenWeb(String)
JSOM Web SP.Site.openWeb(string)
REST POST http://[sitecollection]/[site]/_api/site/openWeb(strUrl)
SSOM Microsoft.SharePoint.SPWeb OpenWeb(System.Guid, System.Int32)
CSOM Web Site.OpenWeb(String)
JSOM Web SP.Site.openWeb(string)
REST POST http://[sitecollection]/[site]/_api/site/openWeb(strUrl)
SSOM Microsoft.SharePoint.SPWeb OpenWeb(System.String)
CSOM Web Site.OpenWeb(String)
JSOM Web SP.Site.openWeb(string)
REST POST http://[sitecollection]/[site]/_api/site/openWeb(strUrl)
SSOM Microsoft.SharePoint.SPWeb OpenWeb(System.String, System.Boolean)
CSOM Web Site.OpenWeb(String)
JSOM Web SP.Site.openWeb(string)
REST POST http://[sitecollection]/[site]/_api/site/openWeb(strUrl)
SSOM Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthSummary RunHealthCheck()
CSOM SiteHealthSummary Site.RunHealthCheck(Guid,Boolean,Boolean)
JSOM SiteHealthSummary SP.Site.runHealthCheck(Guid,boolean,boolean)
REST POST http://[sitecollection]/[site]/_api/site/runHealthCheck(ruleId,bRepair,bRunAlways)
SSOM System.Void RunUpgradeSiteSession(System.Boolean, System.Boolean, System.Boolean)
CSOM Site.RunUpgradeSiteSession(Boolean,Boolean,Boolean)
JSOM SP.Site.runUpgradeSiteSession(boolean,boolean,boolean)
REST POST http://[sitecollection]/[site]/_api/site/runUpgradeSiteSession(versionUpgrade,queueOnly,sendEmail)
SSOM System.Void UpdateClientObjectModelUseRemoteAPIsPermissionSetting(System.Boolean)
CSOM Site.UpdateClientObjectModelUseRemoteAPIsPermissionSetting(Boolean)
JSOM SP.Site.updateClientObjectModelUseRemoteAPIsPermissionSetting(boolean)
REST POST http://[sitecollection]/[site]/_api/site/updateClientObjectModelUseRemoteAPIsPermissionSetting(requireUseRemoteAPIs)
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.