Search Results for

    Show / Hide Table of Contents

    Class CommonNoGroupSiteOptions

    Generic site collection creation options that apply for all types of site collections that are not backed by a Microsoft 365 group

    Inheritance
    System.Object
    CommonSiteOptions
    CommonNoGroupSiteOptions
    CommunicationSiteOptions
    TeamSiteWithoutGroupOptions
    Inherited Members
    CommonSiteOptions.Language
    CommonSiteOptions.WebTemplate
    Namespace: PnP.Core.Admin.Model.SharePoint
    Assembly: PnP.Core.Admin.dll
    Syntax
    public abstract class CommonNoGroupSiteOptions : CommonSiteOptions

    Constructors

    CommonNoGroupSiteOptions(Uri, String)

    Default constructor, sets url and title

    Declaration
    public CommonNoGroupSiteOptions(Uri url, string title)
    Parameters
    Uri url

    Url of the site to create

    System.String title

    Title of the site to create

    Properties

    Classification

    The Site classification to use. For instance 'Contoso Classified'. See https://www.youtube.com/watch?v=E-8Z2ggHcS0 for more information

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

    Description

    The description to use for the site.

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

    HubSiteId

    The Guid of the hub site to be used. If specified will associate the communication site to the hub site

    Declaration
    public Guid HubSiteId { get; set; }
    Property Value
    Guid

    Owner

    The owner of the site. Reserved for future use.

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

    SensitivityLabelId

    The Sensitivity label to use. See https://www.youtube.com/watch?v=NxvUXBiPFcw for more information.

    Declaration
    public Guid SensitivityLabelId { get; set; }
    Property Value
    Guid

    ShareByEmailEnabled

    If set to true sharing files by email is enabled. Defaults to false.

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

    SiteDesignId

    The Guid of the site design to be used.

    Declaration
    public Guid SiteDesignId { get; set; }
    Property Value
    Guid

    TimeZone

    The time zone to use for the site.

    Declaration
    public TimeZone? TimeZone { get; set; }
    Property Value
    System.Nullable<TimeZone>

    Title

    The title of the site to create

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

    Url

    The fully qualified URL (e.g. https://yourtenant.sharepoint.com/sites/mysitecollection) of the site.

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

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