RegisteredServer.Key.Equality 연산자 (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.

네임스페이스:  Microsoft.SqlServer.Management.RegisteredServers
어셈블리:  Microsoft.SqlServer.Management.RegisteredServers(Microsoft.SqlServer.Management.RegisteredServers.dll)

구문

‘선언
Public Shared Operator = ( _
    leftOperand As RegisteredServer.Key, _
    rightOperand As RegisteredServer.Key _
) As Boolean
‘사용 방법
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는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

유형: System.Boolean
A Boolean value that specifies the outcome of the equality operation.If True, the two objects are equal. Otherwise, False.

주의

  • 이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

참고 항목

참조

RegisteredServer.Key 클래스

Equality 오버로드

Microsoft.SqlServer.Management.RegisteredServers 네임스페이스