Partilhar via


DocumentRouterAutoFolderSettings.AutoFolderFolderNameFormat Property

Gets or sets the format for the name of the folder it is creating automatically based on metadata or volume.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Property AutoFolderFolderNameFormat As String
    Get
    Set
'Usage
Dim instance As DocumentRouterAutoFolderSettings
Dim value As String

value = instance.AutoFolderFolderNameFormat

instance.AutoFolderFolderNameFormat = value
public string AutoFolderFolderNameFormat { get; set; }

Property Value

Type: System.String
Returns String.

Remarks

Automatically created folders are named based on this property. The EcmDocumentRoutingWeb object can be configured to use the current date and time to create distinct folders when the threshold number of documents is reached. The placeholder %1 in the folder name format is replaced by the date and time of folder creation.

The AutoFolderSettings can be configured to create distinct folders based on the name and value of a property on the document. Placeholder %1 is replaced with the display name of the property, and the placeholder %2 is replaced with the value of that property on the document.

See Also

Reference

DocumentRouterAutoFolderSettings Class

DocumentRouterAutoFolderSettings Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace