PublisherAddress Property (Replication)

The PublisherAddress property specifies the network address used when connecting to the Publisher when the PublisherNetwork property is specified.

Applies To
SQLDistribution Object SQLMerge Object

Syntax

object.PublisherAddress [= value]

Part Description
object SQL Merge control
value Network connection string

Remarks

This is a required property when PublisherNetwork is set to a value other than DEFAULT_NETWORK.

This property is useful when configuring the control to connect to the Publisher without having to use SQL Server Client Network Utility.

For example, if the Publisher was to be accessed over the Internet, PublisherNetwork could be set to TCPIP_SOCKETS and PublisherAddress could be set to a specific IP address.

If the PublisherNetwork is TCP/IP_SOCKETS or MULTI_PROTOCOL over TCP/IP, then the value is in the form of:

'IP address,socket' (i.e. ‘111.11.11.11,1433")

  

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherAddress(BSTR *pVal);

HRESULT put_PublisherAddress(BSTR newVal);

See Also
PublisherNetwork Property  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.