共用方式為


PublicationMonitor.DistributionDBName Property

Definition

Gets the name of the distribution database used by the publication.

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

Property Value

The name of the distribution database.

Remarks

The DistributionDBName property can only be retrieved by members of the sysadmin fixed server role at the Distributor, by members of the db_owner or replmonitor fixed database roles on the distribution database, or by users in the publication access list (PAL) for the publication.

Applies to