MSDN Library

hostname property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the host name part of the location or URL.

Syntax

HRESULT value = object.put_hostname(BSTR v);HRESULT value = object.get_hostname(BSTR* p);

Property values

Type: BSTR

the host and domain name, or the numerical IP address.

Remarks

If no host name is available, this property returns an empty string.

 

 

Build date: 6/12/2012

Community Additions

Show:
© 2016 Microsoft