GpoLink Class
Represents a link between a GPO and a scope of management (SOM).
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Inheritance Hierarchy
System.Object
Microsoft.GroupPolicy.GpoLink
Syntax
public sealed class GpoLink : IEquatable<GpoLink>
public ref class GpoLink sealed : IEquatable<GpoLink^>
[<Sealed>]
type GpoLink =
class
interface IEquatable<GpoLink>
end
Public NotInheritable Class GpoLink
Implements IEquatable(Of GpoLink)
Properties
Name | Description | |
---|---|---|
DisplayName | Gets the display name of the GPO for this link. |
|
Enabled | Gets or sets a value that specifies whether the GPO link is enabled. |
|
Enforced | Gets or sets a value that specifies whether the GPO link is enforced. |
|
GpoDomainName | Gets the name of the domain in which the GPO exists. |
|
GpoId | Gets the ID of the GPO for this link. |
|
Order | Gets the position of the GPO link in relation to other GPO links for the scope of management (SOM). |
|
Target | Gets the LDAP distinguished name of the container (site, domain, or OU) to which the GPO is linked. |
Methods
Name | Description | |
---|---|---|
Delete() | Removes the link from the SOM. |
|
Equals(GpoLink) | Determines whether the specified GPO link is equal to this GPO link. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
This class wraps the IGPMGPOLink 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