Share via


PolicyStore.Key.Equals Method (Object)

Determines if the specified object is the same as the policy store identified by the current PolicyStore.Key object.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As PolicyStore..::..Key
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool 
override Equals : 
        obj:Object -> bool 
public override function Equals(
    obj : Object
) : boolean

Parameters

  • obj
    Type: System.Object
    A SystemObject that specifies the object to compare.

Return Value

Type: System.Boolean
A Boolean value that is true if the objects are equal. Otherwise, false.