IRegistryKey Property: ComputerName

Property Name
ComputerName

Property Type
String

Description
Gets the name of the computer on which a key exists.
This property is read-only. 

Example

Dim RegistryKey As IRegistryKey
Set RegistryKey = GetObject("NTDS://DomainName/MachineName/reg_services/HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Visual Basic\5.0")
Debug.Print RegistryKey.ComputerName

 

See Also: