Partilhar via


Propriedade do RDL MergeSynchronizationAgent.Publisher

Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription.

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

Sintaxe

'Declaração
Public Overridable Property Publisher As String 
    Get 
    Set
'Uso
Dim instance As MergeSynchronizationAgent 
Dim value As String 

value = instance.Publisher

instance.Publisher = value
public virtual string Publisher { get; set; }
public:
virtual property String^ Publisher {
    String^ get ();
    void set (String^ value);
}
abstract Publisher : string with get, set 
override Publisher : string with get, set
function get Publisher () : String 
function set Publisher (value : String)

Valor da propriedade

Tipo: System.String
The publisher.

Implementa

IMergeSynchronizationAgent.Publisher

Comentários

Publisher is a required property. An exception is thrown if the Publisher property is set to nulluma referência nula (Nothing no Visual Basic).

Consulte também

Referência

MergeSynchronizationAgent Classe

Namespace Microsoft.SqlServer.Replication