Gpo.Equals Method (Gpo)
Determines whether the specified Group Policy object (GPO) is equal to this GPO.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public bool Equals(
Gpo other
)
public:
virtual bool Equals(
Gpo^ other
) sealed
abstract Equals :
other:Gpo -> bool
override Equals :
other:Gpo -> bool
Public Function Equals (
other As Gpo
) As Boolean
Parameters
other
Type: Microsoft.GroupPolicy.GpoThe Gpo to compare with this GPO.
Return Value
Type: System.Boolean
Returns Boolean. true if the specified GPO is equal to this GPO; otherwise, false.
Implements
Remarks
Equality is determined by comparing the Path property of the two GPOs.
See Also
Equals Overload
Gpo Class
Microsoft.GroupPolicy Namespace
Return to top