ManagementAgentCollection.Count Property

Gets the number of items in the ManagementAgentCollection object.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As ManagementAgentCollection
Dim value As Integer

value = instance.Count

Syntax

'Declaration
Public MustOverride ReadOnly Property Count As Integer
public abstract int Count { get; }
public:
virtual property int Count {
    int get () abstract;
}
/** @property */
public abstract int get_Count ()
public abstract function get Count () : int

Property Value

Returns an Int32 object.

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

Target Platforms

See Also

Reference

ManagementAgentCollection Class
ManagementAgentCollection Members
Microsoft.MetadirectoryServices Namespace
ManagementAgentCollection Class