SnapshotGenerationAgent.MaxNetworkOptimization Property
Gets or sets whether out-of-partition deletes are sent to the Subscriber.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
语法
声明
Public Property MaxNetworkOptimization As Boolean
public bool MaxNetworkOptimization { get; set; }
public:
virtual property bool MaxNetworkOptimization {
bool get () sealed;
void set (bool value) sealed;
}
/** @property */
public final boolean get_MaxNetworkOptimization ()
/** @property */
public final void set_MaxNetworkOptimization (boolean value)
public final function get MaxNetworkOptimization () : boolean
public final function set MaxNetworkOptimization (value : boolean)
属性值
A Boolean value.
备注
Out-of-partition deletes refer to deletes that do not belong to the subscription to a merge publication defined by a parameterized row filter. Replicating these deletes does not affect data integrity or convergence, but they can result in unnecessary network traffic.
The default value of MaxNetworkOptimization is false.
Setting MaxNetworkOptimization to true minimizes the chances of replicating irrelevant deletes, thereby reducing network traffic and maximizing network optimization. Setting MaxNetworkOptimization to true can also increase the storage of metadata and cause performance to degrade at the Publisher if multiple levels of join filters and complex subset filters are present. You should carefully assess your replication topology and enable this optimization only if network traffic from irrelevant deletes is unacceptably high.
线程安全
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.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace