语言

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 时有效。 属性的trueIsPublisher值表示服务器是 Publisher。

DistributionDatabase 属性只能由系统管理员固定服务器角色的成员设置。

DistributionDatabase该属性只能由分发器中系统管理员固定服务器角色的成员或分发数据库中db_owner固定数据库角色的成员检索。

适用于

另请参阅