Search Results for

    Show / Hide Table of Contents

    Class WebOptions

    Options to set when creating a new web

    Inheritance
    object
    WebOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class WebOptions

    Properties

    Description

    Description to set on the new web

    Declaration
    public string Description { get; set; }
    Property Value
    string

    InheritPermissions

    Inherit permissions from the current web, defaults to true.

    Declaration
    public bool InheritPermissions { get; set; }
    Property Value
    bool

    Language

    Language to set for the new web, defaults to 1033

    Declaration
    public int Language { get; set; }
    Property Value
    int

    Template

    The site template to use for the new web (e.g. STS#3)

    Declaration
    public string Template { get; set; }
    Property Value
    string

    Title

    Title of the new web (e.g. My Sub Web)

    Declaration
    public string Title { get; set; }
    Property Value
    string

    Url

    Relative url of the new web (e.g. mysubweb)

    Declaration
    public string Url { get; set; }
    Property Value
    string

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer