Partilhar via


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
public virtual NetworkType PublisherNetwork { get; set; }
public:
virtual property NetworkType PublisherNetwork {
    NetworkType get ();
    void set (NetworkType newValue);
}
/** @property */
public NetworkType get_PublisherNetwork ()

/** @property */
public void set_PublisherNetwork (NetworkType newValue)
public function get PublisherNetwork () : NetworkType

public function set PublisherNetwork (newValue : NetworkType)

Property Value

A NetworkType value that indicates the Net-Library to use.

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace