AddService method

Deprecated. User initiated action to add a service.

 

Syntax

*object.*AddService(URL)

Parameters

  • URL [in]
    Type: BSTR

    Specifies the URL for an XML Activity. This URL has to be a navigable HTTP or HTTPS URL.

Return value

Type: HRESULT

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

Standards information

There are no standards that apply here.

Remarks

As of Internet Explorer 10, this method is deprecated and should no longer be used. In addition, this method is not supported for Windows Store apps using JavaScript and will fail silently if called.

Installs an xml activity with the specified XML URL.

See also

external

window

IsServiceInstalled