Equality Operador (RegisteredServer.Key, RegisteredServer.Key)
Determines whether two objects are equal by performing an equality operation on them using the specified left operator and right operator.
Espacio de nombres: Microsoft.SqlServer.Management.RegisteredServers
Ensamblado: Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)
Sintaxis
'Declaración
Public Shared Operator = ( _
leftOperand As RegisteredServer..::..Key, _
rightOperand As RegisteredServer..::..Key _
) As Boolean
'Uso
Dim leftOperand As RegisteredServer..::..Key
Dim rightOperand As RegisteredServer..::..Key
Dim returnValue As Boolean
returnValue = (leftOperand = rightOperand)
public static bool operator ==(
RegisteredServer..::..Key leftOperand,
RegisteredServer..::..Key rightOperand
)
public:
static bool operator ==(
RegisteredServer..::..Key^ leftOperand,
RegisteredServer..::..Key^ rightOperand
)
static let inline (=)
leftOperand:RegisteredServer..::..Key *
rightOperand:RegisteredServer..::..Key : bool
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.
Parámetros
- leftOperand
Tipo: Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServer. . :: . .Key
A RegisteredServer..::..Key object that identifies the first object.
- rightOperand
Tipo: Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServer. . :: . .Key
A RegisteredServer..::..Key object that identifies the second object.
Valor devuelto
Tipo: System. . :: . .Boolean
A Boolean value that specifies the outcome of the equality operation.
If True, the two objects are equal. Otherwise, False.
Comentarios
- Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.