Class ClassicSiteOptions
- Namespace
- PnP.Core.Admin.Model.SharePoint
- Assembly
- PnP.Core.Admin.dll
Contains the available options for creating a classic site collection (e.g. classic team site)
public class ClassicSiteOptions : CommonSiteOptions
- Inheritance
-
ClassicSiteOptions
- Inherited Members
Constructors
ClassicSiteOptions(Uri, string, string, string, Language, TimeZone)
Default constuctor for creating a ClassicSiteOptions object used to define a classic site collection creation
public ClassicSiteOptions(Uri url, string title, string webTemplate, string siteOwnerLogin, Language language, TimeZone timeZone)
Parameters
urlUriUrl of the classic site collection to create
titlestringTitle of the classic site collection to create
webTemplatestringWeb template of the classic site collection to create
siteOwnerLoginstringOwner of the classic site collection to create
languageLanguageLanguage to use for the site
timeZoneTimeZoneTime zone of the classic site collection to create
Properties
Owner
Owner of the classic site
public string Owner { get; set; }
Property Value
TimeZone
Time zone id for the classic site
public TimeZone TimeZone { get; set; }
Property Value
Title
Title of the classic site
public string Title { get; set; }
Property Value
Url
Url of the classic site
public Uri Url { get; set; }