TransPullSubscription.Attributes プロパティ

定義

サブスクリプションでサポートされているトランザクション出版物の属性を取得したり設定したりします。

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

プロパティ値

PublicationAttributes の値。

注釈

PublicationAttributes列挙はFlagsAttributeオプションをサポートしており、列挙値のビット単位の組み合わせを可能にします。

PublicationAttributesImmediateSync値とIndependentAgent値のみがAttributesプロパティでサポートされます。それ以外の値は無視されます。

既存のサブスクリプションに対して Attributes プロパティを設定することはできません。

Attributesプロパティは、加入者側のsysadmin固定サーバーロールのメンバーか、サブスクリプションデータベースのdb_owner固定データベース役割のメンバーのみが取得可能です。

Attributesプロパティは、加入者側のsysadmin固定サーバー役割のメンバーか、サブスクリプションデータベース上のdb_owner固定データベース役割のメンバーのみが設定可能です。

Attributes財産の回収はsp_helppullsubscriptionを実行するのと同等です。

Attributesプロパティを設定することは、sp_addpullsubscriptionを実行するのと同等です。

適用対象