SetHostUrl method

Sets the host URL.

Syntax

HRESULT retVal = object.SetHostUrl(bstrHostUrl);

Parameters

  • bstrHostUrl [in]
    Type: BSTR

    Specifies a string representing the host URL.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.