AnalysisUtilities.ValidateRemoteHost

Syntax

AnalysisUtilities.ValidateRemoteHost( remoteHost, baseLocation, apiLocation)

Return Value

Boolean

Purpose

Use this method in an analysis module to validate whether a remote host can be located on the network. This method reports analysis messages for the NI_RemoteHostExists rule if the rule is enabled.

Parameters

remoteHost As String

[In] Pass the name of the remote host to validate.

baseLocation As PropertyObject

[In] Pass the base object to use with the apiLocation parameter as the location associated with any analysis messages this method reports.

apiLocation As APILocations

[In] Pass the APILocations enumeration to use as the location associated with any analysis messages this method reports. To use the baseLocation as the location, pass APILocation_None .

See Also

APILocations