Search Results for

    Show / Hide Table of Contents

    Class ConnectSiteToGroupOptions

    Defines the information need to connect a group to an existing site

    Inheritance
    System.Object
    CommonSiteOptions
    CommonGroupSiteOptions
    ConnectSiteToGroupOptions
    Inherited Members
    CommonGroupSiteOptions.Alias
    CommonGroupSiteOptions.DisplayName
    CommonGroupSiteOptions.IsPublic
    CommonGroupSiteOptions.Visibility
    CommonGroupSiteOptions.Description
    CommonGroupSiteOptions.Classification
    CommonGroupSiteOptions.HubSiteId
    CommonGroupSiteOptions.SensitivityLabelId
    CommonGroupSiteOptions.SiteAlias
    CommonGroupSiteOptions.PreferredDataLocation
    CommonGroupSiteOptions.AdditionalData
    CommonSiteOptions.Language
    CommonSiteOptions.WebTemplate
    Namespace: PnP.Core.Admin.Model.SharePoint
    Assembly: PnP.Core.Admin.dll
    Syntax
    public class ConnectSiteToGroupOptions : CommonGroupSiteOptions

    Constructors

    ConnectSiteToGroupOptions(Uri, String, String)

    Creates an ConnectSiteToGroupOptions class

    Declaration
    public ConnectSiteToGroupOptions(Uri url, string alias, string displayName)
    Parameters
    Uri url

    The url for the site to group connect

    System.String alias

    Alias for the group that will be connected to the site

    System.String displayName

    Name of the site

    Properties

    KeepOldHomePage

    If the site already has a modern home page, do we want to keep it?

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

    Owners

    Set the owners of the group connected site. Specify the UPN values in a string array.

    Declaration
    public string[] Owners { get; set; }
    Property Value
    System.String[]

    Url

    The url for the site to group connect

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

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