Search Results for

    Show / Hide Table of Contents

    Class SiteCreationInformation

    Class for site creation information

    Inheritance
    System.Object
    SiteCreationInformation
    CommunicationSiteCollectionCreationInformation
    TeamNoGroupSiteCollectionCreationInformation
    Namespace: PnP.Framework.Sites
    Assembly: PnP.Framework.dll
    Syntax
    public abstract class SiteCreationInformation : object

    Constructors

    SiteCreationInformation()

    Declaration
    public SiteCreationInformation()

    SiteCreationInformation(String, String, String)

    Declaration
    public SiteCreationInformation(string fullUrl, string title, string description = null)
    Parameters
    System.String fullUrl

    System.String title

    System.String description

    Properties

    AllowFileSharingForGuestUsers

    If set to true, file sharing for guest users will be allowed.

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

    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

    Lcid

    The language to use for the site. If not specified will default to the language setting of the clientcontext.

    Declaration
    public uint Lcid { get; set; }
    Property Value
    System.UInt32

    Owner

    The owner of the site. Reserved for future use.

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

    PreferredDataLocation

    The geography in which to create the site collection. Only applicable to multi-geo enabled tenants.

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

    ShareByEmailEnabled

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

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

    TimeZoneId

    The time zone to use for the site.

    Declaration
    public int? TimeZoneId { get; set; }
    Property Value
    System.Nullable<System.Int32>

    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 string Url { get; set; }
    Property Value
    System.String

    WebTemplate

    The Web template to use for the site.

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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer