Partilhar via


Método Policy.Key.Equals (Object)

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

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

Sintaxe

'Declaração
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Uso
Dim instance As Policy.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

Parâmetros

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

Valor de retorno

Tipo: System.Boolean
A Boolean which is true if the operands are equal, otherwise false.

Consulte também

Referência

Policy.Key Classe

Sobrecarregado Equals

Namespace Microsoft.SqlServer.Management.Dmf