Compartilhar via


Propriedade DistributionPublisher

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

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

Sintaxe

'Declaração
Public Property DistributionPublisher As String
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

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.