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) の実行と同じです。

適用対象