Gets the version of the Active Directory data schema.


int SchemaVersion {get;}

Property value

The version of the schema as an integer (int).


This property is used internally by the Centrify .NET module to identify the Active Directory schema being used.

Note:   This property is designed for COM-based programs that support a 32-bit signed number. The property Version can be used in place of this property in .NET programs because .NET supports 64-bit signed numbers.


The following code sample illustrates using SchemaVersion for a computer object in a script:

set objZone = cims.GetZone(" zone
'Identify the computer account
Set objComp = cims.GetComputer("”) 
wScript.Echo “Schema version: “ & objComp.SchemaVersion