ISimpleSyncProviderIdGenerator Interface

Provides a way to generate IDs of a custom format that are used to identify replicas and items in a metadata store.

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

Syntax

'Declaration
Public Interface ISimpleSyncProviderIdGenerator
'Usage
Dim instance As ISimpleSyncProviderIdGenerator
public interface ISimpleSyncProviderIdGenerator
public interface class ISimpleSyncProviderIdGenerator
type ISimpleSyncProviderIdGenerator =  interface end
public interface ISimpleSyncProviderIdGenerator

The ISimpleSyncProviderIdGenerator type exposes the following members.

Methods

  Name Description
Public method GenerateNewItemId When overridden in a derived class, returns a SyncId object that contains a ID for a new item.

Top

Remarks

Implement this interface only if you need to generate IDs of a custom format. If you do not implement this interface, the Sync Framework runtime automatically generates IDs in the following format: GUID for replica IDs; and GUID with an 8-byte prefix for item IDs. For more information about simple provider metadata, see Managing Metadata for Simple Providers.

See Also

Reference

Microsoft.Synchronization.SimpleProviders Namespace