ServerGroup.Key.Equality Operator (ServerGroup.Key, ServerGroup.Key)
Determines whether the objects identified by two ServerGroup.Key objects are the same.
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
- leftOperand
Type: Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key
A ServerGroup.Key object that identifies the first object.
- rightOperand
Type: Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key
A ServerGroup.Key object that identifies the second object.
Return Value
Type: System.Boolean
A Boolean value that is true if the objects are the same. Otherwise, false.
Remarks
- This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.