Computer.GetAssociatedComputerGroups Method
Retrieves all computer groups that include the computer.
public ComputerGroupsCollection GetAssociatedComputerGroups();
Return Value
The ComputerGroupsCollection associated with the computer.
Exceptions
Exception Type | Condition |
---|---|
System.UnauthorizedAccessException | The user does not have permissions for these objects. |
Requirements
Platforms: Requires Windows 2000 Server or later
Version: Requires MOM 2005 or later
Namespace: Microsoft.EnterpriseManagement.Mom
Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)