مشاركة عبر


MergeSynchronizationAgent.PublisherNetwork Property

Gets or sets the client Net-Library that is used when connecting to the Publisher.

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

Syntax

'Declaration
Public Overridable Property PublisherNetwork As NetworkType 
    Get 
    Set
'Usage
Dim instance As MergeSynchronizationAgent 
Dim value As NetworkType 

value = instance.PublisherNetwork

instance.PublisherNetwork = value
public virtual NetworkType PublisherNetwork { get; set; }
public:
virtual property NetworkType PublisherNetwork {
    NetworkType get ();
    void set (NetworkType value);
}
abstract PublisherNetwork : NetworkType with get, set 
override PublisherNetwork : NetworkType with get, set
function get PublisherNetwork () : NetworkType 
function set PublisherNetwork (value : NetworkType)

Property Value

Type: Microsoft.SqlServer.Replication.NetworkType
A NetworkType value that indicates the Net-Library to use.

Implements

IMergeSynchronizationAgent.PublisherNetwork

Remarks

This option is used to configure the control to connect to the Publisher without having to use SQL Server Configuration Manager.

If the value of PublisherNetwork is not DefaultNetwork (the default), the PublisherAddress property must be specified.

See Also

Reference

MergeSynchronizationAgent Class

Microsoft.SqlServer.Replication Namespace