SessionBaseIsSameHost Method |
Determine if two host names represent the same tcp/ip host
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public static bool IsSameHost(
string host1,
string host2
)
Public Shared Function IsSameHost (
host1 As String,
host2 As String
) As Boolean
public:
static bool IsSameHost(
String^ host1,
String^ host2
)
static member IsSameHost :
host1 : string *
host2 : string -> bool
Parameters
- host1
- Type: SystemString
Host name 1 - host2
- Type: SystemString
Host name 2
Return Value
Type:
BooleanTrue if host is the same; otherwise false
See Also