Freigeben über


Web-Member

Represents a Microsoft SharePoint Foundation Web site.

Der Web-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Web Initializes a new instance of the Web object.

Oben

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AllowCreateDeclarativeWorkflowForCurrentUser
Öffentliche Eigenschaft AllowDesignerForCurrentUser Gets a value that specifies whether the current user is allowed to use a designer application to customize this site.
Öffentliche Eigenschaft AllowMasterPageEditingForCurrentUser Gets a value that specifies whether the current user is allowed to edit the master page.
Öffentliche Eigenschaft AllowRevertFromTemplateForCurrentUser Gets a value that specifies whether the current user is allowed to revert the site to a default site template.
Öffentliche Eigenschaft AllowRssFeeds Gets a value that specifies whether the site allows RSS feeds.
Öffentliche Eigenschaft AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser
Öffentliche Eigenschaft AllowSavePublishDeclarativeWorkflowForCurrentUser
Öffentliche Eigenschaft AllProperties Gets a collection of metadata for the Web site.
Öffentliche Eigenschaft AlternateCssUrl
Öffentliche Eigenschaft AppInstanceId The instance Id of the App Instance that this website represents.
Öffentliche Eigenschaft AppTiles
Öffentliche Eigenschaft AssociatedMemberGroup Gets the users who have been given contribute permissions to the website.
Öffentliche Eigenschaft AssociatedOwnerGroup Gets or sets the associated owner groups of the website.
Öffentliche Eigenschaft AssociatedVisitorGroup Gets or sets the associated visitor group of the website.
Öffentliche Eigenschaft AvailableContentTypes Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites.
Öffentliche Eigenschaft AvailableFields Gets a value that specifies the collection of all fields available for the current scope, including those of the current site, as well as any parent sites.
Öffentliche Eigenschaft Configuration Gets either the identifier (ID) of the site definition configuration that was used to create the site, or the ID of the site definition configuration from which the site template used to create the site was derived.
Öffentliche Eigenschaft ContainsConfidentialInfo
Öffentliche Eigenschaft ContentTypes Gets the collection of content types for the Web site.
Öffentliche Eigenschaft Context Gibt den Kontext, der das Clientobjekt zugeordnet ist. (Geerbt von ClientObject.)
Öffentliche Eigenschaft Created Gets a value that specifies when the site was created.
Öffentliche Eigenschaft CurrentChangeToken
Öffentliche Eigenschaft CurrentUser Gets the current user of the site.
Öffentliche Eigenschaft CustomMasterUrl Gets or sets the URL for a custom master page file to apply to the website.
Öffentliche Eigenschaft DataLeakagePreventionStatusInfo
Öffentliche Eigenschaft Description Gets or sets the description for the site.
Öffentliche Eigenschaft DescriptionResource
Öffentliche Eigenschaft DesignerDownloadUrlForCurrentUser
Öffentliche Eigenschaft DocumentLibraryCalloutOfficeWebAppPreviewersDisabled Determines if the Document Library Callout's WAC previewers are enabled or not.
Öffentliche Eigenschaft EffectiveBasePermissions Gets a value that specifies the effective permissions that are assigned to the current user.
Öffentliche Eigenschaft EnableMinimalDownload Gets or sets a Boolean value that specifies whether the Web site should use Minimal Download Strategy.
Öffentliche Eigenschaft EventReceivers Gets the collection of event receiver definitions that are currently available on the website.
Öffentliche Eigenschaft Features Gets a value that specifies the collection of features that are currently activated in the site.
Öffentliche Eigenschaft Fields Gets the collection of field objects that represents all the fields in the Web site.
Öffentliche Eigenschaft FirstUniqueAncestorSecurableObject Ruft das Objekt ab, bei dem Rollenzuweisungen für dieses Objekt definiert sind. (Geerbt von SecurableObject.)
Öffentliche Eigenschaft Folders Gets the collection of all first-level folders in the website.
Öffentliche Eigenschaft HasUniqueRoleAssignments Ruft einen Wert ab, der angibt, ob die Rollenzuweisungen für dieses sicherungsfähige Objekt eindeutig definiert oder von einem übergeordneten sicherungsfähigen Objekt geerbt werden. (Geerbt von SecurableObject.)
Öffentliche Eigenschaft Id Gets a value that specifies the site identifier for the site.
Öffentliche Eigenschaft IsMultilingual
Öffentliche Eigenschaft Language Gets a value that specifies the LCID for the language that is used on the site.
Öffentliche Eigenschaft LastItemModifiedDate Gets a value that specifies when an item was last modified in the site.
Öffentliche Eigenschaft Lists Gets the collection of all lists that are contained in the website available to the current user based on the current user’s permissions.
Öffentliche Eigenschaft ListTemplates Gets a value that specifies the collection of list definitions and list templates available for creating lists on the site.
Öffentliche Eigenschaft MasterUrl Gets or sets the URL of the master page that is used for the website.
Öffentliche Eigenschaft MembersCanShare
Öffentliche Eigenschaft Navigation Gets a value that specifies the navigation structure on the site, including the Quick Launch area and the top navigation bar.
Öffentliche Eigenschaft NoCrawl
Geschützte Eigenschaft ObjectData Ruft die Objektdaten für das aktuelle Clientobjekt. (Geerbt von ClientObject.)
Öffentliche Eigenschaft ObjectVersion Ruft eine Zeichenfolge, die die Version des aktuellen Clientobjekts angibt. Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden. (Geerbt von ClientObject.)
Öffentliche Eigenschaft OverwriteTranslationsOnChange
Öffentliche Eigenschaft ParentWeb Gets the parent website of the specified website.
Öffentliche Eigenschaft Path Verfolgt an, wie ein Clientobjekt in der Klasse ClientRuntimeContext erstellt wurde, dass das Objekt auf dem Server neu erstellt werden kann. Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden. (Geerbt von ClientObject.)
Öffentliche Eigenschaft PushNotificationSubscribers Specifies the collection of push notification subscribers for the site, and cannot be NULL.
Öffentliche Eigenschaft QuickLaunchEnabled Gets or sets a value that specifies whether the Quick Launch area is enabled on the site.
Öffentliche Eigenschaft RecycleBin Gets the recycle bin of the website.
Öffentliche Eigenschaft RecycleBinEnabled Gets or sets a value that specifies whether the Recycle Bin is enabled.
Öffentliche Eigenschaft RegionalSettings Gets the regional settings that are currently implemented on the website.
Öffentliche Eigenschaft RequestAccessEmail
Öffentliche Eigenschaft RoleAssignments Ruft die Rollenzuweisungen für das sicherungsfähige Objekt ab. (Geerbt von SecurableObject.)
Öffentliche Eigenschaft RoleDefinitions Gets the collection of role definitions for the website.
Öffentliche Eigenschaft RootFolder Gets the root folder for the website.
Öffentliche Eigenschaft SaveSiteAsTemplateEnabled Gets or sets a Boolean value that specifies whether the Web site can be saved as a site template.
Öffentliche Eigenschaft ServerObjectIsNull Ruft das Serverobjekt ab und gibt null, wenn das Serverobjekt null ist. (Geerbt von ClientObject.)
Öffentliche Eigenschaft ServerRelativeUrl Gets or sets the server-relative URL for the Web site.
Öffentliche Eigenschaft ShowUrlStructureForCurrentUser Gets a value that specifies whether the current user is able to view the file system structure of this site.
Öffentliche Eigenschaft SiteGroups Gets the collection of groups for the site collection.
Öffentliche Eigenschaft SiteLogoUrl
Öffentliche Eigenschaft SiteUserInfoList Gets the UserInfo list of the site collection that contains the website.
Öffentliche Eigenschaft SiteUsers Gets the collection of all users that belong to the site collection.
Öffentliche Eigenschaft SupportedUILanguageIds Specifies the language code identifiers (LCIDs) of the languages that are enabled for the site.
Öffentliche Eigenschaft SyndicationEnabled Gets or sets a value that specifies whether the RSS feeds are enabled on the site.
Öffentliche Eigenschaft Tag Ruft oder legt Daten, die das Clientobjekt zugeordnet ist. (Geerbt von ClientObject.)
Öffentliche Eigenschaft ThemeInfo The theming information for this website. This includes information like colors, fonts, border radii sizes, and so on.
Öffentliche Eigenschaft ThirdPartyMdmEnabled
Öffentliche Eigenschaft Title Gets or sets the title for the website.
Öffentliche Eigenschaft TitleResource
Öffentliche Eigenschaft TreeViewEnabled Gets or sets value that specifies whether the tree view is enabled on the site.
Öffentliche Eigenschaft TypedObject Ruft das Objekt mit den richtigen Typinformationen, die vom Server zurückgegeben. (Geerbt von ClientObject.)
Öffentliche Eigenschaft UIVersion Gets or sets the user interface (UI) version of the Web site.
Öffentliche Eigenschaft UIVersionConfigurationEnabled Gets or sets a value that specifies whether the settings UI for visual upgrade is shown or hidden.
Öffentliche Eigenschaft Url Gets the absolute URL for the website.
Öffentliche Eigenschaft UserCustomActions Gets a value that specifies the collection of user custom actions for the site.
Öffentliche Eigenschaft Webs Gets a Web site collection object that represents all Web sites immediately beneath the Web site, excluding children of those Web sites.
Öffentliche Eigenschaft WebTemplate Gets the name of the site definition or site template that was used to create the site.
Öffentliche Eigenschaft WorkflowAssociations Gets a value that specifies the collection of all workflow associations for the site.
Öffentliche Eigenschaft WorkflowTemplates Gets a value that specifies the collection of workflow templates associated with the site.

Oben

Methoden

  Name Beschreibung
Öffentliche Methode AddSupportedUILanguage
Öffentliche Methode ApplyTheme Applies a theme with the specified components to this site.
Öffentliche Methode ApplyWebTemplate Applies the specified site definition or site template to the website that has no template applied to it.
Öffentliche Methode BreakRoleInheritance Erstellt eindeutige Rollenzuweisungen für das sicherungsfähige Objekt. (Geerbt von SecurableObject.)
Geschützte Methode CheckUninitializedProperty Überprüft, um festzustellen, ob die Eigenschaft angegebenen Wert Typ eine ClientObject nach der Initialisierung von wurde. (Geerbt von ClientObject.)
Öffentliche MethodeStatischer Member CreateAnonymousLink Create an anonymous link which can be used to access a document without needing to authenticate.
Öffentliche MethodeStatischer Member CreateAnonymousLinkWithExpiration Create an anonymous link which can be used to access a document without needing to authenticate.
Öffentliche MethodeStatischer Member CreateOrganizationSharingLink
Öffentliche Methode CustomFromJson Gibt einen booleschen Wert, der angibt, ob benutzerdefinierter Code verwendet wurde, um ein Objekt zu füllen. Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden. (Geerbt von ClientObject.)
Öffentliche Methode DefaultDocumentLibrary
Öffentliche MethodeStatischer Member DeleteAllAnonymousLinksForObject Removes all existing anonymous links for an object.
Öffentliche MethodeStatischer Member DeleteAnonymousLinkForObject(ClientRuntimeContext, String, Boolean) Removes an existing anonymous link for an object.
Öffentliche MethodeStatischer Member DeleteAnonymousLinkForObject(ClientRuntimeContext, String, Boolean, Boolean)
Öffentliche Methode DeleteObject Deletes the website.
Öffentliche MethodeStatischer Member DestroyOrganizationSharingLink(ClientRuntimeContext, String, Boolean)
Öffentliche MethodeStatischer Member DestroyOrganizationSharingLink(ClientRuntimeContext, String, Boolean, Boolean)
Öffentliche Methode DoesPushNotificationSubscriberExist Returns a Boolean value that indicates whether the push notification subscriber exists for the current user with the given device app instance identifier.
Öffentliche Methode DoesUserHavePermissions Returns whether the current user has the given set of permissions.
Öffentliche Methode EnsureUser Checks whether the specified logon name belongs to a valid user of the website, and if the logon name does not already exist, adds it to the website.
Öffentliche MethodeStatischer Member ForwardObjectLink Share an object in SharePoint such as a list item, or site with no Acl changes, even when you do not have permission to share and can't send an access request. Use this method to send the link of the object to site members who already has permission to view the object.
Öffentliche Methode FromJson Gibt an, ob benutzerdefinierter Code verwendet wurde, um ein Objekt zu füllen. Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden. (Geerbt von ClientObject.)
Öffentliche Methode GetAppBdcCatalog Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the external content types defined in the BDC metadata model packaged by the application.
Öffentliche Methode GetAppBdcCatalogForAppInstance Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the external content types defined in the BDC metadata model packaged by the application. This method should be called on the Web object where the application is installed.
Öffentliche Methode GetAppInstanceById Retrieves an AppInstance installed on this site.
Öffentliche Methode GetAppInstancesByProductId Retrieves all AppInstance objects installed on this site that are instances of the specified App.
Öffentliche Methode GetAvailableWebTemplates Returns a collection of site templates available for the site.
Öffentliche Methode GetCatalog Returns the list template gallery, site template gallery, or Web Part gallery for the site.
Öffentliche Methode GetChanges Returns the collection of all changes from the change log that have occurred within the scope of the site, based on the specified query.
Öffentliche MethodeStatischer Member GetDocumentLibraries
Öffentliche Methode GetEntity Specifies the external content type with the specified namespace and name in the context of the current site. This method is used as the entry point to create, read, update, and delete (CRUD) operations against an Entity.
Öffentliche Methode GetFileByGuestUrl
Öffentliche Methode GetFileByGuestUrlEnsureAccess
Öffentliche Methode GetFileById This API element is only supported by SharePoint Online.
Öffentliche Methode GetFileByLinkingUrl
Öffentliche Methode GetFileByServerRelativeUrl Returns the file object located at the specified server-relative URL.
Öffentliche Methode GetFileByUrl
Öffentliche Methode GetFileByWOPIFrameUrl
Öffentliche Methode GetFolderById
Öffentliche Methode GetFolderByServerRelativeUrl Returns the folder object located at the specified server-relative URL.
Öffentliche Methode GetList
Öffentliche MethodeStatischer Member GetObjectSharingSettings Given a path to an object in SharePoint, this will generate a sharing settings object which contains necessary information for rendering sharing information.
Öffentliche Methode GetPushNotificationSubscriber Specifies the push notification subscriber over the site for the specified device app instance identifier.
Öffentliche Methode GetPushNotificationSubscribersByArgs Queries for the push notification subscribers for the site with the specified set of custom arguments.The passed value is compared against the subscribers’ custom arguments in the store and exact matches are returned as a collection. Null or empty custom arguments return subscribers without any filtering. If no match is found, an empty collection is returned.
Öffentliche Methode GetPushNotificationSubscribersByUser Queries for the push notification subscribers for the site for the specified user.
Öffentliche Methode GetRecycleBinItems
Öffentliche MethodeStatischer Member GetSharingLinkKind
Öffentliche Methode GetSubwebsForCurrentUser Returns the collection of child sites of the current site based on the specified query.
Öffentliche Methode GetUserById Returns the user corresponding to the specified member identifier for the current site.
Öffentliche Methode GetUserEffectivePermissions Gets the effective permissions that the specified user has within the current application scope.
Öffentliche MethodeStatischer Member GetWebUrlFromPageUrl
Öffentliche Methode IncrementSiteClientTag
Geschützte Methode InitNonPropertyFieldFromJson Initialisiert ein nicht-Eigenschaftenfeld des Clientobjekts basierend auf JavaScript Object Notation (JSON) Daten aus dem Server. Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden. (Geerbt von ClientObject.)
Geschützte Methode InitOnePropertyFromJson (Überschreibt SecurableObject.InitOnePropertyFromJson(String, JsonReader).)
Öffentliche Methode IsObjectPropertyInstantiated Gibt an, ob die angegebene Eigenschaft des Clientobjekts instanziiert wird. (Geerbt von ClientObject.)
Öffentliche Methode IsPropertyAvailable Gibt einen booleschen Wert, der angibt, ob die angegebene skalare Eigenschaft abgerufen oder festgelegt wurde. (Geerbt von ClientObject.)
Öffentliche Methode LoadAndInstallApp Uploads and installs an app package to this site.
Öffentliche Methode LoadAndInstallAppInSpecifiedLocale Uploads and installs an App package, in a specified locale.
Öffentliche Methode LoadApp Uploads an App package and creates an instance from it.
Geschützte Methode LoadExpandoFields Initialisiert die erweiterten Eigenschaften der Clientobjekt beim Überschreiben in einer abgeleiteten Klasse zugeordnet. (Geerbt von ClientObject.)
Öffentliche Methode MapToIcon Returns the name of the image file for the icon that is used to represent the specified file.
Öffentliche Methode RefreshLoad Lädt alle skalare Eigenschaften, die das Clientobjekt beim Überschreiben in einer abgeleiteten Klasse zugeordnet. (Geerbt von ClientObject.)
Öffentliche Methode RegisterPushNotificationSubscriber Return a GUID, and registers the push notification subscriber for the site. If the registration already exists, the service token is updated with the new value.
Geschützte Methode RemoveFromParentCollection Entfernt das aktuelle Clientobjekt aus der Sammlung von übergeordneten Client Objekt. (Geerbt von ClientObject.)
Öffentliche Methode RemoveSupportedUILanguage
Öffentliche Methode ResetRoleInheritance Bei der Implementierung in einer abgeleiteten Klasse entfernt lokale rollenzuweisungen, sodass rollenzuweisungen, für alle untergeordneten Objekte erneut vom übergeordneten Objekt vererbt werden. (Geerbt von SecurableObject.)
Öffentliche Methode Retrieve() Ruft alle skalare Eigenschaften, die das Objekt zugeordnet. Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden. (Geerbt von ClientObject.)
Öffentliche Methode Retrieve([]) Ruft die angegebenen skalaren Eigenschaften des Objekts zugeordnet. Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden. (Geerbt von ClientObject.)
Öffentliche MethodeStatischer Member ShareObject(ClientRuntimeContext, String, String, String, Int32, Boolean, Boolean, Boolean, String, String) Shares an object in SharePoint such as a document or site with external users.
Öffentliche MethodeStatischer Member ShareObject(ClientRuntimeContext, String, String, String, Int32, Boolean, Boolean, Boolean, String, String, Boolean)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode UnregisterPushNotificationSubscriber Returns a GUID, and unregisters the push notification subscriber from the site.
Öffentliche MethodeStatischer Member UnshareObject Removes Sharing permissions on an object.
Öffentliche Methode Update Updates the database with changes that are made to the Web site.
Geschützte Methode UpdateClientObjectPropertyType So aktualisiert, dass der Client Objekt-Eigenschaft Wert ein, um die richtige Art haben mithilfe der Information vom Server zurückgegeben. (Geerbt von ClientObject.)
Öffentliche MethodeStatischer Member WebUrlFromFolderUrlDirect Get web's full url from folder url.
Öffentliche MethodeStatischer Member WebUrlFromPageUrlDirect

Oben

Siehe auch

Referenz

Web Klasse

Microsoft.SharePoint.Client-Namespace