The MAs property retrieves a ManagementAgentCollection object that contains all management agents.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim value As ManagementAgentCollection

value = Utils.MAs

Syntax

Visual Basic
Public Shared ReadOnly Property MAs As ManagementAgentCollection
C#
public static ManagementAgentCollection MAs { get; }
C++
public:
static property ManagementAgentCollection^ MAs {
		ManagementAgentCollection^ get ();
}
J#
/** @property */
public static ManagementAgentCollection get_MAs ()
JScript
public static function get MAs () : ManagementAgentCollection

Property Value

Returns ManagementAgentCollection.

Remarks

This property returns a ManagementAgentCollection object; however the enumeration of the management agent objects in the collection returns the name of the management agents as strings. For more information, see the ManagementAgentEnumerator topic.


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