PublisherAddress-Eigenschaft
Ruft die Netzwerkadresse ab, die verwendet wird, um eine Verbindung mit dem Verleger herzustellen, wenn die PublisherNetwork-Eigenschaft angegeben wird, oder legt diese fest.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Public Overridable Property PublisherAddress As String
Get
Set
'Usage
Dim instance As MergeSynchronizationAgent
Dim value As String
value = instance.PublisherAddress
instance.PublisherAddress = value
public virtual string PublisherAddress { get; set; }
public:
virtual property String^ PublisherAddress {
String^ get ();
void set (String^ value);
}
abstract PublisherAddress : string with get, set
override PublisherAddress : string with get, set
function get PublisherAddress () : String
function set PublisherAddress (value : String)
Eigenschaftswert
Typ: System. . :: . .String
Ein String-Wert, der die Adresse des Verlegers darstellt.
Implementiert
Hinweise
This property is required only when the PublisherNetwork property is set to a value other than DefaultNetwork.
This property is useful when configuring the control to connect to the Publisher without having to use SQL Server Configuration Manager.
For example, if the Publisher is accessed over the Internet, PublisherNetwork can be set to TcpIpSockets()()()() and PublisherAddress can be set to a specific IP address.
If the PublisherNetwork property is TcpIpSockets()()()() or MultiProtocol()()()() by using TCP/IP, the value is in the form of 'IP address,socket' (such as '111.11.11.11,1433').