Udostępnij za pośrednictwem


NSInstance.Equals Method (Object)

Determines whether the specified Object is equal to the current NSInstance 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

Return Value

true if the specified Object is equal to the current NSInstance object; otherwise false.

Remarks

The Equals method compares the object types and values of their InstanceName properties.

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

NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace