RetVal=GetTargetInfo(TargetID, AquirerType, IsAlarm, Name, PrimaryTargetID, AquirerID, Details, Host, RemoteHost)
Gets some information relating to a Target.
|[in] TargetID||The TargetID for which you want to get the info.|
|[out] AquirerType||The type of Aquirer
|[out] IsAlarm||Zero indicates the target is used in a graph, one the target is used in an alarm.|
|[out] Name||The name of the Target|
|[out] PrimaryTargetID||The primary target. If the requested target is a primary target then -1 is returned.|
|[out] AquirerID||The ID of the aquirer running the target.|
|[out] Details||If the target is a Perfmon then the full counter path is returned. In the case of SNMP the MIB is returned. In the case of a script and a remote script all in arguments and out arguments are shown.|
|[out] Host||The host that is being used by the target.|
|[out] RemoteHost||The remote host that is being used.|
Zero indicates success, One indicates failure to communicate with the service and two a failure in obtaining the info.