SyncKnowledge.CompatibilityLevel Property

Gets or sets the version of Sync Framework components that can be used with this object.

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

Syntax

'Declaration
Public Property CompatibilityLevel As CompatibilityLevel
    Get
    Set
'Usage
Dim instance As SyncKnowledge
Dim value As CompatibilityLevel

value = instance.CompatibilityLevel

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

Property Value

Type: Microsoft.Synchronization.CompatibilityLevel
The version of Sync Framework components that can be used with this object.

Exceptions

Exception Condition
InvalidKnowledgeVersionException

The property is set to a value that is less than the value of MinimumCompatibilityLevel.

InvalidOperationException

This SyncKnowledge object is not initialized.

Remarks

The value of this property indicates which features are included in the knowledge object. This value is initialized to the value of the DefaultCompatibilityLevel static property when a SyncKnowledge object is created.

See Also

Reference

SyncKnowledge Class

Microsoft.Synchronization Namespace

Other Resources

Sync Framework Backwards Compatibility and Interoperability