Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

hostname property

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

Syntax

HRESULT value = object.put_hostname( v);HRESULT value = object.get_hostname(* 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.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft