CachePropertyChanges Property

ReplicationObject.CachePropertyChanges Property


Gets or sets whether to cache changes made to the replication properties or to apply them immediately.

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

member CachePropertyChanges : bool with get, set

Property Value

Type: System.Boolean

A Boolean value. If true, the property changes are cached. If false, the property changes are applied immediately.

When the value of CachePropertyChanges is false, property changes are immediately set according to the SqlExecutionModes property of the ServerConnection object. When the value is set to true, property changes will be cached until CommitPropertyChanges is called. When CommitPropertyChanges is called, all property changes after CachePropertyChanges are set according to the SqlExecutionModes property.

Caching only applies to properties stored in Microsoft SQL Server.

The default value of CachePropertyChanges is false.

No code example is currently available or this language may not be supported.
Return to top
© 2015 Microsoft