Class TeamSiteOptions
  
  Contains the available options for creating a group connected team site collection
 
  
  
    Inheritance
    System.Object
    
    
    TeamSiteOptions
   
  
  
  
  
  
  Assembly: PnP.Core.Admin.dll
  
  Syntax
  
    public class TeamSiteOptions : CommonGroupSiteOptions
   
  
  
  
  
  Constructors
  
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Default constuctor for creating a TeamSiteOptions object used to define a team site collection creation
 
  
  Declaration
  
    public TeamSiteOptions(string alias, string displayName)
   
  Parameters
  
    
      | 
        System.String
        alias
         Alias for the group to create 
       | 
    
    
      | 
        System.String
        displayName
         Displayname for the group to create 
       | 
    
  
  
  
  
  
  
  
  
  
  
  
  
   
  Properties
  
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If true, only group members can post conversations to the group. Only applies when using application permissions to create the site.
 
  
  Declaration
  
    public bool? AllowOnlyMembersToPost { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        System.Nullable<System.Boolean>
         
        | 
    
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If true, members can view the group calendar in Outlook but cannot make changes. Only applies when using application permissions to create the site.
 
  
  Declaration
  
    public bool? CalendarMemberReadOnly { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        System.Nullable<System.Boolean>
         
        | 
    
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If true, changes made to the group in Exchange Online are not synced back to on-premises Active Directory. Only applies when using application permissions to create the site.
 
  
  Declaration
  
    public bool? ConnectorsDisabled { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        System.Nullable<System.Boolean>
         
        | 
    
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If true, this group is hidden in Outlook experiences. Only applies when using application permissions to create the site.
 
  
  Declaration
  
    public bool? HideGroupInOutlook { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        System.Nullable<System.Boolean>
         
        | 
    
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Set the members of the team site connected group. Specify the UPN values in a string array.
Note: Only applicable when application permissions are used.
 
  
  Declaration
  
    public string[] Members { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Set the owners of the team site connected group. Specify the UPN values in a string array.
 
  
  Declaration
  
    public string[] Owners { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  The ID of the Site Design to apply, if any (not applicable when application permissions are used)
 
  
  Declaration
  
    public Guid? SiteDesignId { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If true, members are not subscribed to the group's calendar events in Outlook. Only applies when using application permissions to create the site.
 
  
  Declaration
  
    public bool? SubscribeMembersToCalendarEventsDisabled { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        System.Nullable<System.Boolean>
         
        | 
    
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If true, group members are subscribed to receive group conversations. Only applies when using application permissions to create the site.
 
  
  Declaration
  
    public bool? SubscribeNewGroupMembers { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        System.Nullable<System.Boolean>
         
        | 
    
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If true, welcome emails are not sent to new members. Only applies when using application permissions to create the site.
 
  
  Declaration
  
    public bool? WelcomeEmailDisabled { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        System.Nullable<System.Boolean>
         
        |