Loupe - Log - Monitor - Resolve
Gibraltar.Data.Internal Namespace / RepositoryMaintenance Class / RepositoryMaintenance Constructor / RepositoryMaintenance Constructor(String,String,String,Int32,Int32,Boolean)
The full path to the base of the repository (which must contain an index)
The product name of the application(s) to restrict pruning to.
Optional. The application within the product to restrict pruning to.
The maximum allowed days since the session fragment was closed to keep the fragment around.
The maximum number of megabytes of session fragments to keep
Indicates if the maintenance process should log its actions.

In This Topic
    RepositoryMaintenance Constructor(String,String,String,Int32,Int32,Boolean)
    In This Topic
    Create the repository maintenance object for the provided repository.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal repositoryPath As String, _
       ByVal productName As String, _
       ByVal applicationName As String, _
       ByVal maxAgeDays As Integer, _
       ByVal maxSizeMegabytes As Integer, _
       ByVal loggingEnabled As Boolean _
    )

    Parameters

    repositoryPath
    The full path to the base of the repository (which must contain an index)
    productName
    The product name of the application(s) to restrict pruning to.
    applicationName
    Optional. The application within the product to restrict pruning to.
    maxAgeDays
    The maximum allowed days since the session fragment was closed to keep the fragment around.
    maxSizeMegabytes
    The maximum number of megabytes of session fragments to keep
    loggingEnabled
    Indicates if the maintenance process should log its actions.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also