Class ConnectSiteToGroupOptions
  
  Defines the information need to connect a group to an existing site
 
  
  
    Inheritance
    System.Object
    
    
    ConnectSiteToGroupOptions
   
  
  
  
  
  
  Assembly: PnP.Core.Admin.dll
  
  Syntax
  
    public class ConnectSiteToGroupOptions : CommonGroupSiteOptions
   
  
  
  
  
  Constructors
  
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  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
  
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  If the site already has a modern home page, do we want to keep it?
 
  
  Declaration
  
    public bool KeepOldHomePage { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Set the owners of the group connected site. Specify the UPN values in a string array.
 
  
  Declaration
  
    public string[] Owners { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  The url for the site to group connect
 
  
  Declaration
  
    public Uri Url { get; set; }
   
  
  
  
  
  Property Value