Condividi tramite


Proprietà SnapshotGenerationAgent.MaxNetworkOptimization

Gets or sets whether out-of-partition deletes are sent to the Subscriber.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
Public Property MaxNetworkOptimization As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As SnapshotGenerationAgent 
Dim value As Boolean 

value = instance.MaxNetworkOptimization

instance.MaxNetworkOptimization = value
public bool MaxNetworkOptimization { get; set; }
public:
virtual property bool MaxNetworkOptimization {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract MaxNetworkOptimization : bool with get, set 
override MaxNetworkOptimization : bool with get, set
final function get MaxNetworkOptimization () : boolean 
final function set MaxNetworkOptimization (value : boolean)

Valore proprietà

Tipo: System.Boolean
A Boolean value.

Implementa

ISnapshotGenerationAgent.MaxNetworkOptimization

Osservazioni

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.

Vedere anche

Riferimento

SnapshotGenerationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication