ServerGroup.Key.Inequality Operator (ServerGroup.Key, ServerGroup.Key)

Determines whether the objects identified by two ServerGroup.Key objects are different.

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

Syntax

'Declaration
Public Shared Operator <> ( _
    leftOperand As ServerGroup.Key, _
    rightOperand As ServerGroup.Key _
) As Boolean
'Usage
Dim leftOperand As ServerGroup.Key 
Dim rightOperand As ServerGroup.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
    ServerGroup.Key leftOperand,
    ServerGroup.Key rightOperand
)
public:
static bool operator !=(
    ServerGroup.Key^ leftOperand, 
    ServerGroup.Key^ rightOperand
)
static let inline(<>)
        leftOperand:ServerGroup.Key * 
        rightOperand:ServerGroup.Key  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

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

Remarks

  • This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

ServerGroup.Key Class

Inequality Overload

Microsoft.SqlServer.Management.RegisteredServers Namespace