[TIBCO.EMS .NET client library 6.3 documentation]

Set the name of the target EMS server.

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.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