MergeSynchronizationAgent.DistributorAddress Property
Gets or sets the network address that is used to connect to the Distributor when the DistributorNetwork property is specified.
Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
Syntaxe
'Déclaration
Public Overridable Property DistributorAddress As String
public virtual string DistributorAddress { get; set; }
public:
virtual property String^ DistributorAddress {
String^ get ();
void set (String^ newValue);
}
/** @property */
public String get_DistributorAddress ()
/** @property */
public void set_DistributorAddress (String newValue)
public function get DistributorAddress () : String
public function set DistributorAddress (newValue : String)
Valeur de propriété
A String value that represents the Distributor address.
Notes
This property is required only when the DistributorNetwork property is set to a value other than DefaultNetwork.
This property is useful when you are configuring the Merge Agent to connect to the Distributor without having to use SQL Server Configuration Manager.
For example, if the Distributor is accessed over the Internet, DistributorNetwork can be set to TcpIpSockets and DistributorAddress can be set to a specific IP address.
If the DistributorNetwork property is TcpIpSockets or MultiProtocol is using TCP/IP, the value is in the form of 'IP address,socket' (such as '111.11.11.11,1433').
If the Distributor connection properties are not specified, t is assumed that the Publisher and Distributor are the same instance of SQL Server and the Publisher connection properties will be used when connecting to the Distributor.
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace