次の方法で共有


IPrograms::Count 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

IPrograms::Count is a read-only property, in Configuration Manager, that indicates the number of Program Class objects in the collection.

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

Parameters

  • pVal
    Data type: long

    Qualifiers: [out, retval]

    Pointer to the number of Program Class objects in the collection.

Return Value

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

Programs Class