PublisherAddress Property (Replication ActiveX)
The PublisherAddress property specifies the network address used when connecting to the Publisher when the PublisherNetwork Property (Replication ActiveX) property is specified.
Syntax
object.PublisherAddress [= value]
Part | Description |
---|---|
object |
Expression that evaluates to an object in the Applies To list. |
value |
Publisher network address and socket in the form of 'IP_address,socket'. |
Applies To
SQLDistribution Object (Replication ActiveX)
SQLMerge Object (Replication ActiveX)
Remarks
This is a required property when PublisherNetwork Property (Replication ActiveX) 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 is to be accessed over the Internet, PublisherNetwork Property (Replication ActiveX) can be set to TCPIP_SOCKETS and PublisherAddress can be set to a specific IP address.
If the PublisherNetwork Property (Replication ActiveX) is TCP/IP_SOCKETS or MULTI_PROTOCOL over TCP/IP, 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);