[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Set the name of the target EMS server.

Namespace:  TIBCO.EMS.UFO
Assembly:  TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

Syntax

public void SetTargetHostName(
	string targetHostName
)
Public Sub SetTargetHostName ( _
	targetHostName As String _
)
public:
void SetTargetHostName(
	String^ targetHostName
)

Parameters

targetHostName
Type: System..::.String
The name of the server as defined in the server's certificate. Usually the server's HostName is specified as the CN in the server's certificate.

Remarks

This is a required parameter for all .NET SSL connections. Because System.Net.Security.SslStream requires a targetHost, this value is required and cannot be NULL.

See Also