Share via


SqlCeReplication.CompressionLevel Property

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Specifies the amount of compression that will be used by the compression routines during replication.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Property CompressionLevel As Short
    Get
    Set
'Usage
Dim instance As SqlCeReplication
Dim value As Short

value = instance.CompressionLevel

instance.CompressionLevel = value
public short CompressionLevel { get; set; }
public:
property short CompressionLevel {
    short get ();
    void set (short value);
}
member CompressionLevel : int16 with get, set
function get CompressionLevel () : short
function set CompressionLevel (value : short)

Property Value

Type: System.Int16
The compression level.

See Also

Reference

SqlCeReplication Class

System.Data.SqlServerCe Namespace