次の方法で共有


TransPublication.TransSubscriptions プロパティ

パブリケーションへのサブスクリプションを表します。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public ReadOnly Property TransSubscriptions As TransSubscriptionCollection 
    Get
'使用
Dim instance As TransPublication 
Dim value As TransSubscriptionCollection 

value = instance.TransSubscriptions
public TransSubscriptionCollection TransSubscriptions { get; }
public:
property TransSubscriptionCollection^ TransSubscriptions {
    TransSubscriptionCollection^ get ();
}
member TransSubscriptions : TransSubscriptionCollection
function get TransSubscriptions () : TransSubscriptionCollection

プロパティ値

型: Microsoft.SqlServer.Replication.TransSubscriptionCollection
TransSubscriptionCollection オブジェクトです。

説明

TransSubscriptions プロパティを取得できるのは、パブリッシャー側の固定サーバー ロール sysadmin のメンバー、パブリケーション データベースの固定データベース ロール db_owner のメンバー、またはパブリケーションへのサブスクリプションを作成したユーザーだけです。

TransSubscriptions プロパティを取得すると、sp_helparticle を実行したのと同じことになります。

関連項目

参照

TransPublication クラス

Microsoft.SqlServer.Replication 名前空間