Partager via


Web Class

Definition

[Microsoft.SharePoint.Client.ScriptType("SP.Web", ServerTypeId="{a489add2-5d3a-4de8-9445-49259462dceb}")]
public class Web : Microsoft.SharePoint.Client.SecurableObject
type Web = class
    inherit SecurableObject
Public Class Web
Inherits SecurableObject
Inheritance
Attributes

Constructors

Web(ClientRuntimeContext, ObjectPath)

Properties

Alerts
AllowAutomaticASPXPageIndexing
AllowCreateDeclarativeWorkflowForCurrentUser
AllowDesignerForCurrentUser
AllowMasterPageEditingForCurrentUser
AllowRevertFromTemplateForCurrentUser
AllowRssFeeds
AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser
AllowSavePublishDeclarativeWorkflowForCurrentUser
AllProperties
AlternateCssUrl
AppInstanceId
AppTiles
AssociatedMemberGroup
AssociatedOwnerGroup
AssociatedVisitorGroup
Author
AvailableContentTypes
AvailableFields
CommentsOnSitePagesDisabled
Configuration
ContainsConfidentialInfo
ContentTypes
Context (Inherited from ClientObject)
Created
CurrentChangeToken
CurrentUser
CustomMasterUrl
DataLeakagePreventionStatusInfo
Description
DescriptionResource
DesignerDownloadUrlForCurrentUser
DesignPackageId
DisableAppViews
DisableFlows
DocumentLibraryCalloutOfficeWebAppPreviewersDisabled
EffectiveBasePermissions
EnableMinimalDownload
EventReceivers
ExcludeFromOfflineClient
Features
Fields
FirstUniqueAncestorSecurableObject (Inherited from SecurableObject)
Folders
HasUniqueRoleAssignments (Inherited from SecurableObject)
HeaderEmphasis
HorizontalQuickLaunch
Id
IsMultilingual
Language
LastItemModifiedDate
LastItemUserModifiedDate
Lists
ListTemplates
MasterUrl
MembersCanShare
Navigation
NoCrawl
NotificationsInOneDriveForBusinessEnabled
NotificationsInSharePointEnabled
ObjectData (Inherited from ClientObject)
ObjectVersion (Inherited from ClientObject)
OverwriteTranslationsOnChange
ParentWeb
Path (Inherited from ClientObject)
PreviewFeaturesEnabled
PushNotificationSubscribers
QuickLaunchEnabled
RecycleBin
RecycleBinEnabled
RegionalSettings
RequestAccessEmail
ResourcePath
RoleAssignments (Inherited from SecurableObject)
RoleDefinitions
RootFolder
SaveSiteAsTemplateEnabled
ServerObjectIsNull (Inherited from ClientObject)
ServerRelativePath
ServerRelativeUrl
ShowUrlStructureForCurrentUser
SiteCollectionAppCatalog
SiteGroups
SiteLogoDescription
SiteLogoUrl
SiteUserInfoList
SiteUsers
SupportedUILanguageIds
SyndicationEnabled
Tag (Inherited from ClientObject)
TenantAppCatalog
TenantTagPolicyEnabled
ThemedCssFolderUrl
ThemeInfo
ThirdPartyMdmEnabled
Title
TitleResource
TreeViewEnabled
TypedObject (Inherited from ClientObject)
UIVersion
UIVersionConfigurationEnabled
Url
UserCustomActions
Webs
WebTemplate
WelcomePage
WorkflowAssociations
WorkflowTemplates

Methods

AddSupportedUILanguage(Int32)
ApplyTheme(String, String, String, Boolean)
ApplyWebTemplate(String)
BreakRoleInheritance(Boolean, Boolean) (Inherited from SecurableObject)
CheckUninitializedProperty(String) (Inherited from ClientObject)
CreateAnonymousLink(ClientRuntimeContext, String, Boolean)
CreateAnonymousLinkWithExpiration(ClientRuntimeContext, String, Boolean, String)
CreateDefaultAssociatedGroups(String, String, String)
CreateOrganizationSharingLink(ClientRuntimeContext, String, Boolean)
CustomFromJson(JsonReader) (Inherited from ClientObject)
DefaultDocumentLibrary()
DefaultDocumentLibraryUrl(ClientRuntimeContext, String)
DeleteAllAnonymousLinksForObject(ClientRuntimeContext, String)
DeleteAnonymousLinkForObject(ClientRuntimeContext, String, Boolean, Boolean)
DeleteObject()
DestroyOrganizationSharingLink(ClientRuntimeContext, String, Boolean, Boolean)
DoesPushNotificationSubscriberExist(Guid)
DoesUserHavePermissions(BasePermissions)
EnsureUser(String)
ForwardObjectLink(ClientRuntimeContext, String, String, String, String)
FromJson(JsonReader) (Inherited from ClientObject)
GetAppBdcCatalog()
GetAppBdcCatalogForAppInstance(Guid)
GetAppInstanceById(Guid)
GetAppInstancesByProductId(Guid)
GetAvailableWebTemplates(UInt32, Boolean)
GetCatalog(Int32)
GetChanges(ChangeQuery)
GetDocumentAndMediaLibraries(ClientRuntimeContext, String, Boolean)
GetDocumentLibraries(ClientRuntimeContext, String)
GetEntity(String, String)
GetFileByGuestUrl(String)
GetFileByGuestUrlEnsureAccess(String, Boolean)
GetFileById(Guid)
GetFileByLinkingUrl(String)
GetFileByServerRelativePath(ResourcePath)
GetFileByServerRelativeUrl(String)
GetFileByUrl(String)
GetFileByWOPIFrameUrl(String)
GetFolderById(Guid)
GetFolderByServerRelativePath(ResourcePath)
GetFolderByServerRelativeUrl(String)
GetList(String)
GetListItem(String)
GetListItemByResourceId(String)
GetListItemUsingPath(ResourcePath)
GetListUsingPath(ResourcePath)
GetObjectSharingSettings(ClientRuntimeContext, String, Int32, Boolean)
GetOnePageContextAsStream()
GetPushNotificationSubscriber(Guid)
GetPushNotificationSubscribersByArgs(String)
GetPushNotificationSubscribersByUser(String)
GetRecycleBinItems(String, Int32, Boolean, RecycleBinOrderBy, RecycleBinItemState)
GetRecycleBinItemsByQueryInfo(RecycleBinQueryInformation)
GetSharingLinkData(String)
GetSharingLinkKind(ClientRuntimeContext, String)
GetStorageEntity(String)
GetSubwebsForCurrentUser(SubwebQuery)
GetUserById(Int32)
GetUserEffectivePermissions(String)
GetViewFromPath(ResourcePath)
GetViewFromUrl(String)
GetWebUrlFromPageUrl(ClientRuntimeContext, String)
IncrementSiteClientTag()
InitNonPropertyFieldFromJson(String, JsonReader) (Inherited from ClientObject)
InitOnePropertyFromJson(String, JsonReader)
IsObjectPropertyInstantiated(String) (Inherited from ClientObject)
IsPropertyAvailable(String) (Inherited from ClientObject)
LoadAndInstallApp(Stream)
LoadAndInstallAppInSpecifiedLocale(Stream, Int32)
LoadApp(Stream, Int32)
LoadExpandoFields() (Inherited from ClientObject)
MapToIcon(String, String, IconSize)
RefreshLoad() (Inherited from ClientObject)
RegisterPushNotificationSubscriber(Guid, String)
RemoveFromParentCollection() (Inherited from ClientObject)
RemoveStorageEntity(String)
RemoveSupportedUILanguage(Int32)
ResetRoleInheritance() (Inherited from SecurableObject)
Retrieve() (Inherited from ClientObject)
Retrieve(String[]) (Inherited from ClientObject)
SetStorageEntity(String, String, String, String)
ShareObject(ClientRuntimeContext, String, String, String, Int32, Boolean, Boolean, Boolean, String, String, Boolean)
UnregisterPushNotificationSubscriber(Guid)
UnshareObject(ClientRuntimeContext, String)
Update()
UpdateClientObjectPropertyType(String, Object, JsonReader) (Inherited from ClientObject)
WebUrlFromFolderUrlAsync(ClientContext, Uri)

Applies to