Partilhar via


Protocol.Equals Method (Object)

This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.

Returns a value indicating whether this instance is equal to a specified object.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
public override bool Equals (
    Object obj
)
public:
virtual bool Equals (
    Object^ obj
) override
public boolean Equals (
    Object obj
)
public override function Equals (
    obj : Object
) : boolean

Parameters

  • obj
    An object to compare with this instance.

Return Value

true if obj is an instance of Protocol, has the same name, and is in the same instance of Notification Services; otherwise false.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Protocol Class
Protocol Members
Microsoft.SqlServer.NotificationServices Namespace