Share via


Utils.MAs Property

The MAs property retrieves a ManagementAgentCollection object that contains all management agents.

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

Usage

'Usage
Dim value As ManagementAgentCollection

value = Utils.MAs

Syntax

'Declaration
Public Shared ReadOnly Property MAs As ManagementAgentCollection
public static ManagementAgentCollection MAs { get; }
public:
static property ManagementAgentCollection^ MAs {
    ManagementAgentCollection^ get ();
}
/** @property */
public static ManagementAgentCollection get_MAs ()
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

Reference

Utils Class
Utils Members
Microsoft.MetadirectoryServices Namespace
ManagementAgentCollection Class