Table of Contents

Interface IHubSite

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Public interface to define a HubSite object

public interface IHubSite : IDataModel<IHubSite>, IDataModelParent, IDataModelWithContext, ISupportModules<IHubSite>, IDataModelGet<IHubSite>, IDataModelLoad<IHubSite>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
Inherited Members
Extension Methods

Properties

All

A special property used to add an asterisk to a $select statement

object All { get; }

Property Value

object

Description

The description of the HubSite.

string Description { get; set; }

Property Value

string

EnablePermissionsSync

Gets or sets if permission sync to associated sites is enabled or not.

bool EnablePermissionsSync { get; set; }

Property Value

bool

EnforcedECTs

Gets or sets the list of Enforced ECTs on the HubSite

string EnforcedECTs { get; set; }

Property Value

string

EnforcedECTsVersion

Gets or sets EnforcedECTs version

int EnforcedECTsVersion { get; set; }

Property Value

int

HideNameInNavigation

Gets or sets if the HubSite nav includes the name as well as the logo.

bool HideNameInNavigation { get; set; }

Property Value

bool

Id

The HubSite ID

Guid Id { get; }

Property Value

Guid

LogoUrl

The logo URL of the HubSite

string LogoUrl { get; set; }

Property Value

string

ParentHubSiteId

The parent hub site id to which this hub connects

Guid ParentHubSiteId { get; set; }

Property Value

Guid

PermissionsSyncTag

Hub permissions sync tag

int PermissionsSyncTag { get; }

Property Value

int

RequiresJoinApproval

Gets or sets if the HubSite Join requires approval.

bool RequiresJoinApproval { get; set; }

Property Value

bool

SiteDesignId

The site design to be executed when the hub is joined.

Guid SiteDesignId { get; set; }

Property Value

Guid

SiteId

The Site Collection ID of the HubSite

Guid SiteId { get; }

Property Value

Guid

SiteUrl

The URL of the HubSite

string SiteUrl { get; }

Property Value

string

Targets

List of security groups with access to join the HubSite. Null if everyone has permission.

string Targets { get; set; }

Property Value

string

TenantInstanceId

The tenant instance ID in which the site hub is located. Use empty guid for the default tenant instance.

Guid TenantInstanceId { get; }

Property Value

Guid

Title

Specifies the name of the HubSite.

string Title { get; set; }

Property Value

string