Partilhar via


IProgram::InstallsApplication Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

IProgram::InstallsApplication is a read-only property, in Configuration Manager, that indicates whether the program installs an application or runs a script.

[IDL]
HRESULT InstallsApplication([out, retval] long* pVal);

Parameters

  • pVal
    Data type: long

    Qualifiers: [out, retval]

    Pointer to a value indicating whether the program installs an application or runs a script. Possible values are:

    0

    The program runs a script.

    1

    The program installs an application.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Requirements

UIResource.dll.

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

Program Class