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
'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);
}
/** @property */
public FileAttributes get_AttributeExcludeMask ()

/** @property */
public void set_AttributeExcludeMask (FileAttributes value)
public function get AttributeExcludeMask () : FileAttributes

public function set AttributeExcludeMask (value : FileAttributes)

Property Value

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
FileSyncScopeFilter Members
Microsoft.Synchronization.Files Namespace