PullSubscription.DistributorName プロパティ

定義

配布者であるMicrosoft SQL Serverのインスタンスを取得し、購読者が購読する出版物を配信します。

public:
 property System::String ^ DistributorName { System::String ^ get(); void set(System::String ^ value); };
public string DistributorName { get; set; }
member this.DistributorName : string with get, set
Public Property DistributorName As String

プロパティ値

流通業者の名前。

注釈

DistributorName は必須プロパティであり、サーバー上でサブスクリプションを作成する前に設定する必要があります。 一度サブスクリプション登録がサーバー上に存在すると、 DistributorName プロパティは変更できません。

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

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

DistributorNameプロパティの取得は、sp_helppullsubscription(Transact-SQL)またはsp_helpmergepullsubscription(Transact-SQL)を実行するのと同等です。

DistributorNameプロパティを設定することは、sp_addpullsubscription(Transact-SQL)またはsp_addmergepullsubscription(Transact-SQL)を実行するのと同等です。

適用対象