Search Results for

    Show / Hide Table of Contents

    Class AuditSettings

    The Audit Settings for the Provisioning Template

    Inheritance
    System.Object
    BaseModel
    AuditSettings
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class AuditSettings : BaseModel, IProvisioningTemplateDescendant

    Properties

    AuditFlags

    Audit Flags configured for the Site

    Declaration
    public AuditMaskType AuditFlags { get; set; }
    Property Value
    Microsoft.SharePoint.Client.AuditMaskType

    AuditLogTrimmingRetention

    The Audit Log Trimming Retention for Audits

    Declaration
    public Int32 AuditLogTrimmingRetention { get; set; }
    Property Value
    Int32

    TrimAuditLog

    A flag to enable Audit Log Trimming

    Declaration
    public Boolean TrimAuditLog { get; set; }
    Property Value
    Boolean

    Methods

    Equals(AuditSettings)

    Compares AuditSetting object based on AuditFlags, AuditLogTrimmingRetention and TrimAuditLog properties.

    Declaration
    public bool Equals(AuditSettings other)
    Parameters
    AuditSettings other

    AuditSettings object

    Returns
    System.Boolean

    true if the AuditSettings object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with AuditSettings

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents AuditSettings

    Returns
    System.Boolean

    true if the current object is equal to the AuditSettings

    GetHashCode()

    Gets the hash code.

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer