SyncKnowledge.DefaultCompatibilityLevel Property

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

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

Syntax

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

value = SyncKnowledge.DefaultCompatibilityLevel

SyncKnowledge.DefaultCompatibilityLevel = value
public static CompatibilityLevel DefaultCompatibilityLevel { get; set; }
public:
static property CompatibilityLevel DefaultCompatibilityLevel {
    CompatibilityLevel get ();
    void set (CompatibilityLevel value);
}
static member DefaultCompatibilityLevel : CompatibilityLevel with get, set
static function get DefaultCompatibilityLevel () : CompatibilityLevel
static function set DefaultCompatibilityLevel (value : CompatibilityLevel)

Property Value

Type: Microsoft.Synchronization.CompatibilityLevel
The default compatibility level of all SyncKnowledge objects.

Exceptions

Exception 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 SyncKnowledge objects. The default value is SyncFrameworkVersion2.

See Also

Reference

SyncKnowledge Class

Microsoft.Synchronization Namespace