Share via


FileSyncProvider Members

Is a synchronous synchronization provider that can be used to synchronize files, folders, and subfolders in NTFS, FAT, or SMB file systems.

The following tables list the members exposed by the FileSyncProvider type.

Public Constructors

  Name Description
Public method FileSyncProvider Overloaded. Initializes a new instance of the FileSyncProvider class.

Top

Public Properties

  Name Description
Public property Configuration  Gets the configuration settings for the provider.(Inherited from KnowledgeSyncProvider.)
Public property DestinationCallbacks  Gets an object that a synchronization application can use to register to receive notification of events that occur during synchronization.(Inherited from KnowledgeSyncProvider.)
Public property FileSyncOptions Gets the options that govern the behavior of the provider during synchronization.
Public property IdFormats Overridden. Gets the schema that defines the format of various IDs that are used by the provider.
Public property MetadataDirectoryPath Gets the absolute path to the metadata storage file.
Public property MetadataFileName Gets the name of the metadata storage file.
Public property PreviewMode Gets or sets a value that indicates whether the provider is in preview mode.
Public property ReplicaId Gets the ID for the replica.
Public property RootDirectoryPath Gets the absolute path to the local file store for this provider. This is the folder that contains the files and subfolders to be synchronized.
Public property ScopeFilter Gets the static scope filter that specifies which files or directories in the local file store are included in the scope.
Public property TempDirectoryPath Gets the absolute path where temporary files will be stored.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method BeginSession  (Inherited from UnmanagedSyncProviderWrapper.)
Public method DetectChanges Triggers an enumeration of the local file system replica for changes, and updates the metadata appropriately.
Public method Dispose Overloaded. Releases the resources that are used by FileSyncProvider.
Public method EndSession  (Inherited from UnmanagedSyncProviderWrapper.)
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetChangeBatch  (Inherited from UnmanagedSyncProviderWrapper.)
Public method GetFullEnumerationChangeBatch  (Inherited from UnmanagedSyncProviderWrapper.)
Public method GetHashCode  (Inherited from Object.)
Public method GetSyncBatchParameters  (Inherited from UnmanagedSyncProviderWrapper.)
Public method GetType  (Inherited from Object.)
Public method Initialize  (Inherited from UnmanagedSyncProviderWrapper.)
Public method ProcessChangeBatch  (Inherited from UnmanagedSyncProviderWrapper.)
Public method ProcessFullEnumerationChangeBatch  (Inherited from UnmanagedSyncProviderWrapper.)
Public method Bb903151.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded. Releases the resources that are used by FileSyncProvider.
Protected method Finalize Overridden. Finalizer for FileSyncProvider. Releases all resources.
Protected method MemberwiseClone  (Inherited from Object.)

Top

Public Events

  Name Description
Public event AppliedChange Occurs when a file change has been applied.
Public event ApplyingChange Occurs when a file change is about to be tried.
Public event CopyingFile Occurs periodically to show progress while a file is being copied.
Public event DetectedChanges Occurs when the change detection pass is complete.
Public event DetectingChanges Occurs when a directory is about to be analyzed during a change detection pass.
Public event SkippedChange Occurs when a change is skipped.
Public event SkippedFileDetect Occurs when a file or folder is not analyzed during change detection.

Top

See Also

Reference

FileSyncProvider Class
Microsoft.Synchronization.Files Namespace