TransSubscription.SubscriberType プロパティ

定義

サブスクライバーでデータ変更の更新動作を取得または設定します。

public:
 property Microsoft::SqlServer::Replication::TransSubscriberType SubscriberType { Microsoft::SqlServer::Replication::TransSubscriberType get(); void set(Microsoft::SqlServer::Replication::TransSubscriberType value); };
public Microsoft.SqlServer.Replication.TransSubscriberType SubscriberType { get; set; }
member this.SubscriberType : Microsoft.SqlServer.Replication.TransSubscriberType with get, set
Public Property SubscriberType As TransSubscriberType

プロパティ値

TransSubscriberType の値。

注釈

SubscriberTypeはサブスクリプション作成前に設定しなければならず、サブスクリプション作成後は変更できません。

SubscriberTypeプロパティは、sysadmin固定サーバーロールのメンバー、db_owner固定データベースロールのメンバー、またはサブスクリプションを作成したユーザーのみが取得可能です。

SubscriberTypeプロパティは、sysadmin固定サーバーロールのメンバーかdb_owner固定データベースロールのメンバーのみが設定可能です。

SubscriberTypeの取得はsp_helpsubscriptionを実行するのと同等です(Transact-SQL)

SubscriberTypeの設定はsp_addsubscription(Transact-SQL)を実行するのと同等です。

適用対象