SchemaVersion
Gets the version of the Active Directory data schema.
Syntax
int SchemaVersion {get;}
Property value
The version of the schema as an integer (int).
Discussion
This property is used internally by the Delinea .NET module to identify the Active Directory schema being used.
Example
The following code sample illustrates using SchemaVersion
for a computer object
in a script:
...
set objZone = cims.GetZone("ajax.org/UNIX/Zones/Pilot zone
)
'Identify the computer account
Set objComp = cims.GetComputer("ajax.org/Computers/backup78”)
wScript.Echo “Schema version: “ & objComp.SchemaVersion
...