HostProtocol Property  
 

Set the protocol to return service information for the specified host.

Syntax

object.HostProtocol [= protocol ]

Remarks

The HostProtocol property determines the protocol for which service information is returned, and should be set to one of the following values:

Value Constant Description
6 dnsProtocolTCP Specifies services using the Transmission Control Protocol (TCP).
17 dnsProtocolUDP Specifies services using the User Data Protocol (UDP).

Data Type

Integer (Int32)

See Also

HostServices Property