Share via


TransPublication.PeerOriginatorID Property

Gets the ID for a node in a peer-to-peer topology; this ID is used for conflict detection if PeerConflictDetectionEnabled is set to true.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property PeerOriginatorID As Integer 
    Get
'Usage
Dim instance As TransPublication 
Dim value As Integer 

value = instance.PeerOriginatorID
public int PeerOriginatorID { get; }
public:
property int PeerOriginatorID {
    int get ();
}
member PeerOriginatorID : int
function get PeerOriginatorID () : int

Property Value

Type: System.Int32
An integer that specifies a peer originator ID.

Remarks

Specify a positive, non-zero ID that has never been used in the topology. For a list of IDs that have already been used, execute sp_help_peerconflictdetection.

See Also

Reference

TransPublication Class

Microsoft.SqlServer.Replication Namespace