Partager via


Area.InheritSecurity, propriété (Microsoft.SharePoint.Portal.SiteData)

Gets or sets a value indicating whether the area inherits security.

Espace de noms : Microsoft.SharePoint.Portal.SiteData
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Property InheritSecurity As Boolean
'Utilisation
Dim instance As Area
Dim value As Boolean

value = instance.InheritSecurity

instance.InheritSecurity = value
public bool InheritSecurity { get; set; }

Valeur de la propriété

Booleantrue if the area inherits security; otherwise, false.

Remarques

Never set the InheritSecurity property to false to force inheritance breakage. If you want to break inheritance, use the Microsoft.SharePoint.Portal.Security namespace to add or remove a user or to change the security mask for a given identity. Set InheritSecurity to true when reestablishing the security inheritance to the parent area.

Voir aussi

Référence

Area, classe
Membres Area
Microsoft.SharePoint.Portal.SiteData, espace de noms