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.

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.

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  
...