共用方式為


TransPublication.PeerOriginatorID 屬性

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.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public ReadOnly Property PeerOriginatorID As Integer 
    Get
'用途
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

屬性值

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

備註

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.

請參閱

參考

TransPublication 類別

Microsoft.SqlServer.Replication 命名空間