Compartilhar via


SqlCeReplication.Validate Property

Specifies the type of data validation SQL Server Compact Edition replication performs while synchronizing.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
Public Property Validate As ValidateType
'Usage
Dim instance As SqlCeReplication
Dim value As ValidateType

value = instance.Validate

instance.Validate = value
public ValidateType Validate { get; set; }
public:
property ValidateType Validate {
    ValidateType get ();
    void set (ValidateType value);
}
/** @property */
public ValidateType get_Validate ()

/** @property */
public void set_Validate (ValidateType value)
public function get Validate () : ValidateType

public function set Validate (value : ValidateType)
Not applicable.

Property Value

The ValidateType constant that specifies the type of data validation to perform.

Remarks

The ValidateType value can be one of these constants:

Constant

Description

NoValidation

Does not perform validation (default).

RowCountOnly

Performs a row count comparison on the published data.

SQL Server Compact Edition does not support ROWCOUNT_AND_CHECKSUM, FAST_ROWCOUNT_ONLY, or FAST_ROWCOUNT_AND_CHECKSUM validation. For more information, see "Validating Replicated Data" in SQL Server Books Online.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace