ChangeBatchBase.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 ChangeBatchBase
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. |
ObjectDisposedException | This ChangeBatchBase has already been disposed. |
ArgumentOutOfRangeException | The value to set is not a member of the CompatibilityLevel enumeration. |
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 ChangeBatchBase object is created.