ReplicationServer.DistributionServer プロパティ

定義

現在接続されているSQL Serverインスタンスのディストリビューター名を取得するか設定します。

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

プロパティ値

ディストリビューターであるSQL Serverのインスタンスを指定するStringの値です。

例外

文字列がnullの場合、正しくフォーマットされていない場合、または128バイトを超える場合。

注釈

DistributionServerプロパティはsp_get_distributor(Transact-SQL)ストアドプロシージャと同値です。

DistributionServerプロパティは公開固定データベースロールによって取得可能です。

DistributionServerプロパティはシステム管理者固定サーバーロールによってのみ設定可能です。

適用対象