Som Class

 

Represents a Group Policy Scope of Management (SOM).

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Inheritance Hierarchy

System.Object
  Microsoft.GroupPolicy.Som

Syntax

public class Som : IEquatable<Som>
public ref class Som : IEquatable<Som^>
type Som = 
    class
        interface IEquatable<Som>
    end
Public Class Som
    Implements IEquatable(Of Som)

Properties

Name Description
System_CAPS_pubproperty ContainerType

Gets a value that indicates the type of container (site, domain, or OU) that this Som represents.

System_CAPS_pubproperty GpoInheritanceBlocked

Gets or sets a value that indicates whether inheritance is blocked at the site, domain, or OU.

System_CAPS_pubproperty GpoLinks

Gets the GPO links for the scope of management (SOM).

System_CAPS_pubproperty InheritedGpoLinks

Gets the GPO links that are applied to the scope of management (SOM), including links inherited from parent containers (OUs and domains)..

System_CAPS_pubproperty Name

Gets the name of the container (site, domain, or OU) that the Som represents.

System_CAPS_pubproperty Path

Gets the distinguished name of the container that the Som represents.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Equals(Som)

Determines whether the specified SOM is equal to this SOM.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSecurityInfo()

Returns the security principals (trustees) that have permissions on the container (site, domain, or OU) that this Som represents.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod LinkGpo(Int32, Gpo)

Links the specified GPO to the container (site, domain, or OU) that this Som represents.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetSecurityInfo(GPPermissionCollection)

Sets permissions for a list of security principals (trustees) on the container (site, domain, or OU) that this Som represents.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This class wraps the IGPMSOM COM interface.

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.

See Also

Microsoft.GroupPolicy Namespace

Return to top