Func01_IsAssetVirtual

<< Click to Display Table of Contents >>

Navigation:  Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions >

Func01_IsAssetVirtual

Description

This function checks to see if the asset being processed is a virtual machine.  

 

Processing Notes

First the 'IsVirtual' flag is checked on the asset record.  

If that check does not return a true, then the 'PhysicalComputerName' is compared to the 'ComputerName' field from the asset.  If those names are not equal, then the asset is identified as a virtual machine.

 

Inputs

 

Parameter

Explanation

None.

 

 

Outputs

 

Result

Result Explanation

Confidence Adjustment

Return Value

True

The asset is a virtual machine

 

-1

False

The asset is not a virtual machine

 

0

Else

If a runtime error is encountered.

Y

0