The PublisherAddress property specifies the network address used when connecting to the Publisher when the PublisherNetwork property is specified.
object.PublisherAddress [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list. |
value | Network connection string. |
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 is to be accessed over the Internet, PublisherNetwork can be set to TCPIP_SOCKETS and PublisherAddress can be set to a specific IP address.
If the PublisherNetwork 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")
String
Read/write
HRESULT get_PublisherAddress(BSTR *pVal);
HRESULT put_PublisherAddress(BSTR newVal);