共用方式為


MergeSynchronizationAgent.DistributorNetwork 屬性

Gets or sets the client Net-Library that is used when connecting to the Distributor.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property DistributorNetwork As NetworkType 
    Get 
    Set
'用途
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)

屬性值

型別:Microsoft.SqlServer.Replication.NetworkType
A NetworkType value that indicates the Net-Library to use.

實作

IMergeSynchronizationAgent.DistributorNetwork

備註

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.

請參閱

參考

MergeSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間