ReplicationServer.DistributionDatabase プロパティ

定義

現在接続されているSQL Serverインスタンスの配布データベース名を取得します。

public:
 property System::String ^ DistributionDatabase { System::String ^ get(); };
public string DistributionDatabase { get; }
member this.DistributionDatabase : string
Public ReadOnly Property DistributionDatabase As String

プロパティ値

配布データベースの名前を指定する String の値。

注釈

DistributionDatabaseプロパティは現在のサーバーがPublisherである場合にのみ有効です。 IsPublisherプロパティの値がtrueの場合は、サーバーがPublisherであることを示します。

DistributionDatabaseプロパティはシステム管理者の固定サーバーロールのメンバーのみが設定可能です。

DistributionDatabaseプロパティは、ディストリビューターのシステム管理者固定サーバーロールのメンバーか、配布データベース内のdb_owner固定データベースメンバーのみ取得可能です。

適用対象

こちらもご覧ください