DistributorNetwork-Eigenschaft

Ruft die Clientnetzwerkbibliothek ab, die beim Herstellen einer Verbindung mit dem Verteiler verwendet wird, oder legt diese fest.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Overridable Property DistributorNetwork As NetworkType
    Get
    Set
'Usage
Dim instance As MergeSynchronizationAgent
Dim value As NetworkType

value = instance.DistributorNetwork

instance.DistributorNetwork = value
public virtual NetworkType DistributorNetwork { get; set; }
public:
virtual property NetworkType DistributorNetwork {
    NetworkType get ();
    void set (NetworkType value);
}
abstract DistributorNetwork : NetworkType with get, set
override DistributorNetwork : NetworkType with get, set
function get DistributorNetwork () : NetworkType
function set DistributorNetwork (value : NetworkType)

Eigenschaftswert

Typ: Microsoft.SqlServer.Replication. . :: . .NetworkType
Ein NetworkType-Wert, der die zu verwendende Netzwerkbibliothek angibt.

Implementiert

IMergeSynchronizationAgent. . :: . .DistributorNetwork

Hinweise

This option is used to configure the control to connect to the Distributor without having to use SQL Server Configuration Manager.

If the value of DistributorNetwork is not DefaultNetwork (the default), the DistributorAddress property must be specified.