Share via


FileSyncScopeFilter.AttributeExcludeMask Property

Gets or sets the attributes that are used to exclude files and folders from the scope.

Namespace:  Microsoft.Synchronization.Files
Assembly:  Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)

Syntax

'Declaration
Public Property AttributeExcludeMask As FileAttributes
    Get
    Set
'Usage
Dim instance As FileSyncScopeFilter
Dim value As FileAttributes

value = instance.AttributeExcludeMask

instance.AttributeExcludeMask = value
public FileAttributes AttributeExcludeMask { get; set; }
public:
property FileAttributes AttributeExcludeMask {
    FileAttributes get ();
    void set (FileAttributes value);
}
member AttributeExcludeMask : FileAttributes with get, set
function get AttributeExcludeMask () : FileAttributes
function set AttributeExcludeMask (value : FileAttributes)

Property Value

Type: System.IO.FileAttributes
The attributes that are used to exclude files and folders from the scope.

Remarks

A file or folder that has any one of the attributes included in this mask will be excluded from the synchronization scope.

If a folder is excluded, all its child files and folders are also excluded, even if the children do not have the attribute set directly on them. A value of 0 indicates an empty mask. This will exclude no files based on attributes.

See Also

Reference

FileSyncScopeFilter Class

Microsoft.Synchronization.Files Namespace