Class CommonNoGroupSiteOptions
- Namespace
- PnP.Core.Admin.Model.SharePoint
- Assembly
- PnP.Core.Admin.dll
Generic site collection creation options that apply for all types of site collections that are not backed by a Microsoft 365 group
public abstract class CommonNoGroupSiteOptions : CommonSiteOptions
- Inheritance
-
CommonNoGroupSiteOptions
- Derived
- Inherited Members
Constructors
CommonNoGroupSiteOptions(Uri, string)
Default constructor, sets url and title
public CommonNoGroupSiteOptions(Uri url, string title)
Parameters
Properties
Classification
The Site classification to use. For instance 'Contoso Classified'. See https://www.youtube.com/watch?v=E-8Z2ggHcS0 for more information
public string Classification { get; set; }
Property Value
Description
The description to use for the site.
public string Description { get; set; }
Property Value
HubSiteId
The Guid of the hub site to be used. If specified will associate the communication site to the hub site
public Guid HubSiteId { get; set; }
Property Value
Owner
The owner of the site. Reserved for future use.
public string Owner { get; set; }
Property Value
SensitivityLabelId
The Sensitivity label to use. See https://www.youtube.com/watch?v=NxvUXBiPFcw for more information.
public Guid SensitivityLabelId { get; set; }
Property Value
ShareByEmailEnabled
If set to true sharing files by email is enabled. Defaults to false.
public bool ShareByEmailEnabled { get; set; }
Property Value
SiteDesignId
The Guid of the site design to be used.
public Guid SiteDesignId { get; set; }
Property Value
TimeZone
The time zone to use for the site.
public TimeZone? TimeZone { get; set; }
Property Value
Title
The title of the site to create
public string Title { get; set; }
Property Value
Url
The fully qualified URL (e.g. https://yourtenant.sharepoint.com/sites/mysitecollection) of the site.
public Uri Url { get; set; }