Delen via


ChangeBatchBase.DefaultCompatibilityLevel Property

Gets or sets the default compatibility level of all ChangeBatchBase objects.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Shared Property DefaultCompatibilityLevel As CompatibilityLevel
'Usage
Dim value As CompatibilityLevel

value = ChangeBatchBase.DefaultCompatibilityLevel

ChangeBatchBase.DefaultCompatibilityLevel = value
public static CompatibilityLevel DefaultCompatibilityLevel { get; set; }
public:
static property CompatibilityLevel DefaultCompatibilityLevel {
    CompatibilityLevel get ();
    void set (CompatibilityLevel value);
}
/** @property */
public static CompatibilityLevel get_DefaultCompatibilityLevel ()

/** @property */
public static void set_DefaultCompatibilityLevel (CompatibilityLevel value)
public static function get DefaultCompatibilityLevel () : CompatibilityLevel

public static function set DefaultCompatibilityLevel (value : CompatibilityLevel)

Property Value

The default compatibility level of all ChangeBatchBase objects.

Exceptions

Exception type Condition

ArgumentOutOfRangeException

The value to set is not a member of the CompatibilityLevel enumeration.

Remarks

The value of DefaultCompatibilityLevel is used to initialize the CompatibilityLevel property of new ChangeBatchBase objects. The default value is SyncFrameworkVersion2.

See Also

Reference

ChangeBatchBase Class
ChangeBatchBase Members
Microsoft.Synchronization Namespace