Share via


DistributionDatabase 屬性

Gets or sets the name of the distribution database that the distribution Publisher uses.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property DistributionDatabase As String
    Get
    Set
'用途
Dim instance As RegisteredSubscriber
Dim value As String

value = instance.DistributionDatabase

instance.DistributionDatabase = value
public string DistributionDatabase { get; set; }
public:
property String^ DistributionDatabase {
    String^ get ();
    void set (String^ value);
}
member DistributionDatabase : string with get, set
function get DistributionDatabase () : String
function set DistributionDatabase (value : String)

屬性值

型別:System. . :: . .String
A String value that specifies the name of the distribution database that the distribution Publisher uses.

備註

In Microsoft SQL Server 2005, it is no longer required to explicitly register a Subscriber at the Publisher. This property is provided for backward compatibility with previous versions of SQL Server.