Property Name
HostComputer
Property Type
String
Description
It gets the name of host computer for the file share.
Example:
Dim FileShare As IADsFileShare
'Get the FileShare interface for the file share "ShareName". The
DomainName can be skipped if the computer does not belong to a
particular domain
Set FileShare = GetObject
("NTDS://DomainName/ComputerName/file_services/ShareName")
'Print the host computer name for the file share "ShareName"
Debug.Print FileShare.HostComputer
See Also