共用方式為


ReplicationTable.PublishedInPeerToPeerPublication 屬性

Gets a value that indicates whether or not the table is published in a peer-to-peer transactional replication topology.

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

語法

'宣告
Public ReadOnly Property PublishedInPeerToPeerPublication As Boolean 
    Get
'用途
Dim instance As ReplicationTable 
Dim value As Boolean 

value = instance.PublishedInPeerToPeerPublication
public bool PublishedInPeerToPeerPublication { get; }
public:
property bool PublishedInPeerToPeerPublication {
    bool get ();
}
member PublishedInPeerToPeerPublication : bool
function get PublishedInPeerToPeerPublication () : boolean

屬性值

型別:System.Boolean
true if the table is published using peer-to-peer transactional replication; false if the table is not published using peer-to-peer transactional replication.

備註

The PublishedInPeerToPeerPublication property can be retrieved by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

請參閱

參考

ReplicationTable 類別

Microsoft.SqlServer.Replication 命名空間