Share via


FileSyncProvider.ReplicaId Property

Gets the ID for the replica.

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

Syntax

'Declaration
Public ReadOnly Property ReplicaId As Guid
    Get
'Usage
Dim instance As FileSyncProvider
Dim value As Guid

value = instance.ReplicaId
public Guid ReplicaId { get; }
public:
property Guid ReplicaId {
    Guid get ();
}
member ReplicaId : Guid
function get ReplicaId () : Guid

Property Value

Type: System.Guid
The ID for the replica.

Exceptions

Exception Condition
FileSyncInvalidOperationException

The replica id for this FileSyncProvider object is empty.

See Also

Reference

FileSyncProvider Class

Microsoft.Synchronization.Files Namespace