Search Results for

    Show / Hide Table of Contents

    Class WebOptions

    Options to set when creating a new web

    Inheritance
    System.Object
    WebOptions
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class WebOptions : object

    Properties

    Description

    Description to set on the new web

    Declaration
    public string Description { get; set; }
    Property Value
    System.String

    InheritPermissions

    Inherit permissions from the current web, defaults to true.

    Declaration
    public bool InheritPermissions { get; set; }
    Property Value
    System.Boolean

    Language

    Language to set for the new web, defaults to 1033

    Declaration
    public int Language { get; set; }
    Property Value
    System.Int32

    Template

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

    Declaration
    public string Template { get; set; }
    Property Value
    System.String

    Title

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

    Declaration
    public string Title { get; set; }
    Property Value
    System.String

    Url

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

    Declaration
    public string Url { get; set; }
    Property Value
    System.String

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