[This documentation is preliminary and is subject to change.]
Check if a service is already installed.
Syntax
object.IsServiceInstalled(URL, Verb, )
Standards information
There are no standards that apply here.
Parameters
- URL [in]
-
Type: BSTR
The main document of the activity that you want to query for.
- Verb [in]
-
Type: BSTR
The type of action that this activity performs. Case-insensitive.
- pdwResult [out, retval]
-
| C++ | A Pointer that returns one of the following values: |
| JavaScript | One of the following values: |
return (0)
-
The service is not yet installed.
Return (1)
-
The service is installed.
Return (2)
-
The service is installed and it is the default for its verb type.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Type:
IntegerA Pointer that returns one of the following values:One of the following values:return0
The service is not yet installed.
Return1
The service is installed.
Return2
The service is installed and it is the default for its verb type.
See also
-
window
-
external
-
AddService
Build date: 2/14/2012