Udostępnij za pośrednictwem


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
'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);
}
/** @property */
public CompatibilityLevel get_CompatibilityLevel ()

/** @property */
public void set_CompatibilityLevel (CompatibilityLevel value)
public function get CompatibilityLevel () : CompatibilityLevel

public function set CompatibilityLevel (value : CompatibilityLevel)

Property Value

The version of Sync Framework components that can be used with this object.

Exceptions

Exception type Condition

InvalidKnowledgeVersionException

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

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
SyncKnowledge Members
Microsoft.Synchronization Namespace

Concepts

Sync Framework Backwards Compatibility and Interoperability