PullSubscription.PublisherName プロパティ

定義

Publisherの名前を取得するか設定します。

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

プロパティ値

パブリッシャーの名前。

注釈

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

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

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

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

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

適用対象

こちらもご覧ください