Share via


RegisteredSubscriber.DistributionDatabase Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property DistributionDatabase As String 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

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.

See Also

Reference

RegisteredSubscriber Class

Microsoft.SqlServer.Replication Namespace