Table of Contents

Class WebOptions

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Options to set when creating a new web

public class WebOptions
Inheritance
WebOptions
Inherited Members

Properties

Description

Description to set on the new web

public string Description { get; set; }

Property Value

string

InheritPermissions

Inherit permissions from the current web, defaults to true.

public bool InheritPermissions { get; set; }

Property Value

bool

Language

Language to set for the new web, defaults to 1033

public int Language { get; set; }

Property Value

int

Template

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

public string Template { get; set; }

Property Value

string

Title

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

public string Title { get; set; }

Property Value

string

Url

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

public string Url { get; set; }

Property Value

string