Condividi tramite


SqlCeReplication.PublisherAddress Property

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

Specifies the network address used when connecting to the Publisher.

  [Visual Basic]
  Public Property PublisherAddress As String
[C#]
public string PublisherAddress {get; set;}
[C++]
public: __property String* get_PublisherAddress();
public: __property void set_PublisherAddress(String*);
[JScript]
public function get PublisherAddress() : String;
public function set PublisherAddress(String);

Property Value

The network address used when connecting to the Publisher.

Remarks

The PublisherAddress property is required when PublisherNetwork is set to a value other than DefaultNetwork.

Specify this property to indicate how the SQL Server Replication Provider communicates with the Publisher. For example, if the SQL Server CE Replication Agent and the Publisher are located on two different systems and these two systems communicate over the Internet, PublisherNetwork could be set to TCP/IPSockets, and PublisherAddress could be set to a specific IP address.

If the PublisherNetwork is TCP/IPSockets or MultiProtocol using TCP/IP, then the PublisherAddress value is in the form of 'IP address,port number' (i.e., '111.11.11.11,1433').

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeReplication Class | SqlCeReplication Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.