Expand Minimize
This topic has not yet been rated - Rate this topic

getWorkstationID Method (SQLServerDataSource)

Returns the name of the client computer name that is used to connect to the data source.


public java.lang.String getWorkstationID()

A String that contains the client computer name.

The workstationID is the name of the client computer or workstation. If the workstationID property is not set, the default value is constructed by calling InetAddress.getLocalHost().getHostName() method. If getHostName returns a blank value, the getHostAddress().toString() method is called.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.