次の方法で共有


DistributionPublisher.TransPublications プロパティ

定義

パブリッシャー側のトランザクション パブリケーションを取得します。

public:
 property Microsoft::SqlServer::Replication::TransPublicationCollection ^ TransPublications { Microsoft::SqlServer::Replication::TransPublicationCollection ^ get(); };
public Microsoft.SqlServer.Replication.TransPublicationCollection TransPublications { get; }
member this.TransPublications : Microsoft.SqlServer.Replication.TransPublicationCollection
Public ReadOnly Property TransPublications As TransPublicationCollection

プロパティ値

TransPublication オブジェクトのコレクション。

注釈

返される TransPublicationTransPublicationCollection オブジェクトには、Item[] プロパティからアクセスできます。 そのためには、[Int32] インデックス値、またはパブリケーションの String である [Name] インデックス値を使用します。

TransPublications プロパティを取得できるのは、ディストリビューター側の固定サーバー ロール sysadmin のメンバー、ディストリビューション データベースの固定データベース ロール db_owner のメンバー、またはパブリッシャー側のパブリケーションのパブリケーション アクセス リスト (PAL) のユーザーだけです。

プロパティの TransPublications 取得は、 sp_helppublicationの実行と同じです。

適用対象