Purpose

The host name, or workstation ID, of the client machine to be stored in the database. For Microsoft SQL Server 2000 and higher and Microsoft Windows Azure SQL Database, this property sets the hostname column of the sysprocesses table in the database. For Microsoft SQL Server 7, this value is stored locally. This value is used for database administration/monitoring purposes.

Valid Values

string

where:

string
is the host name of the client machine.

Notes

  • Your database may impose character length restrictions on the value. If the value exceeds a restriction, the driver truncates it.

Default

empty string

Data Type

String

Alias

WSID property

See also

Using Client Information