Gets the count of items associated with the result collection. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As ResultObjectsManager
Dim value As Integer

value = instance.Count

Syntax

Visual Basic
Public ReadOnly Property Count As Integer
C#
public int Count { get; }
C++
public:
virtual property int Count {
		int get () sealed;
}
J#
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public final int get_Count ()
JScript
DebuggerStepThroughAttribute 
public final function get Count () : int

Property Value

Count of items.

Remarks

This property represents a count, for example, a count of status messages, associated with a Configuration Manager summary. Configuration Manager uses summary classes, for example SMS_ComponentSummarizer Server WMI Class, to identify the health (status) of a site, with its components, packages, and advertisements. A summary is produced from status messages, states, and counts. For more information, see About Configuration Manager Status Summarizers.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also