RegisteredSubscriber.DistributionPublisher Property

Gets or sets the name of the distribution Publisher to which the Subscriber is registered.

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

Syntax

'Declaration
Public Property DistributionPublisher As String
    Get
    Set
'Usage
Dim instance As RegisteredSubscriber
Dim value As String

value = instance.DistributionPublisher

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

Property Value

Type: System.String
A String value that specifies the name of the distribution Publisher to which the Subscriber is registered.

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.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.